This documentation refers to the latest trunk version of the Pager code. For information related to the v0.5 released version, please see Pager API - v0.5.
The Pager component allows users to break up long lists of items into separate pages. CurrentlyIn the Fluid 0.6 release, the Pager is entirely mark-up driven, and has limited functionality. Future releases will incorporate additional features, as well as operating a 100% markup-driven mode, also features integration with Fluid's Renderer to support rendering of dynamic multi-page data-driven tables. However, the Renderer integration as of this release should be considered experimental.
Unlike many other Fluid Components, the The Pager makes certain assumptions about the mark-up:
- The entire pager must be contained within a container element.
- Within that container, there are one or two 'pager bar' elements, each containing:
- any number of page links
- optionally, a 'next' element and a 'previous' element
- optionally, a dropdown control for selecting the page size
The Pager uses CSS selectors to access these various components. Default selectors are assumed, which can be overriden (see #options below).