Deprecated. See Pager for non-scrolling pager widget, [...] for scroll-based pager widget.
Paging includes a widget for paging through a data set: Offering various controls to choose the page to display, while indicating the current page as well as the total number of pages.
The widget must communicate with the data model to indicate which page to show next, and to display the available pages and current page.
Notes on Grid Paging from 2010-Mar meeting
- For Ajax-loading
- # of items per page (specified and/or user customizable)
- data-ui-pagesize
- 1 2 3 ... 1234 (links) OR [ 1 ] of 1234 OR select [ 1, 2, 3 ] OR button to load more
- Need to know the total # of records
- data-ui-totalrecords
- Implement with templates
- First / Last Links
- Next / Prev Links
- Need URL mappers - given a page # and a # of records - give us a URL (!)
- Scrolling
- Hit (near-)bottom, load more (alternative to button - just auto-load)
- Show full scrollbar (as if everything was loaded) and dynamically load more
- Clean up old results
- Completely removes need for links or button
- How does expandable rows affect this?
- Publish 'pagination' event (can be return false to stop the user)
- How do you rebuild the UI later on if changes were made?
- Keyboard Navigation
- Page Up / Page Down
Comments (0)
You don't have permission to comment on this page.