Loading ...
Sorry, an error occurred while loading the content.

Re: Page number problem

Expand Messages
  • Lucas Smith
    ... You can set alwaysVisible to false in the Paginator config. var pag = new Paginator({ rowsPerPage : 12, alwaysVisible : false, ... }); Hope this helps,
    Message 1 of 2 , Feb 3, 2009
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "Jeevanthi Panawala"
      <jeevanthi_nim@...> wrote:
      >
      > Hello,
      >
      > I have a data table and it displays 12 rows per page. The problem is
      > that when there are exactly 12 records, it displays 1 in the
      > paginator. We do not need the page number displayed when there are
      > exactly 12 records.
      >
      > Any help would be appriciated.
      >
      > Thanks.
      >

      You can set alwaysVisible to false in the Paginator config.

      var pag = new Paginator({
      rowsPerPage : 12,
      alwaysVisible : false,
      ...
      });

      Hope this helps,
      Luke
    Your message has been successfully submitted and would be delivered to recipients shortly.