Class GridPager

java.lang.Object
org.apache.tapestry5.corelib.components.GridPager

@Events("inplaceupdate (internal event)") public class GridPager extends Object
Generates a series of links used to jump to a particular page index within the overall data set.
Component Parameters 
NameTypeFlagsDefaultDefault Prefix
currentPageintRequired prop
The current page number (indexed from 1).
rangeint symbol:tapestry.components.gridpager_page_rangeprop
Number of pages before and after the current page in the range. The pager always displays links for 2 * range + 1 pages, unless that's more than the total number of available pages.
rowsPerPageintRequired prop
The number of rows displayed per page.
sourceorg.apache.tapestry5.grid.GridDataSourceRequired prop
The source of the data displayed by the grid (this is used to determine how many rows are available, which in turn determines the page count).
zoneString  prop
If not null, then each link is output as a link to update the specified zone.

Component Events 
NameDescription
inplaceupdate(internal event)

  • Constructor Details