Allows direct access to a specific group of registers when the automatic paging of grids and freestyle grids is used
Is a numeric value
The paging is not enabled in the grid.
This method can be only used if the grid has base table. The 'Rows' property must has a value different from 0. Grids may be nested.
This method efficiency is associated to the efficiency of the definition of the corresponding grid navigation. I.e.: if the grid without paging has good response times, these times will be similar with paging.
In this example, there is a grid (GSearchResults) with the result of a search and, another one (GPages) with the number of pages of the first one to allow a fast access paging.
&PageCounts = GSearchResults.PageCount
if &PageCounts > 1
&Count = 1
Do while &Count <= &PageCounts
&PageNumber = &Count
&Count += 1
Objects: Web Panels
Grid paging on the Web
Controls: Grids, Free Style Grids
Languages: .Net, Java, Ruby (up to GeneXus X Evolution 3)