Takes the user to the first group of returned records when the automatic paging of Grids and Free Style Grids is used.
Controls: Grid, Free Style Grid
Generators: .NET, .NET Framework, Java, Ruby (up to GeneXus X Evolution 3)
This method is available in Grids in Web Panel objects, whether the grid has Base Table or not.
TheRows property must have a value different from 0.
If the Web Panel which is being paged has filters, the FirstPage method should be added within the user event which applies the filter, so as to avoid that the displayed result corresponds to the page where it was previously located.
This method's efficiency is associated to the efficiency of the definition of the corresponding Grid navigation. In other words, if the Grid without paging has good response times, these times will be similar with paging.
Grids may be nested.
This method may return some of the following values:
||The paging is not enabled in the grid
In this example when the user presses enter, the Grid will show the first group of records.
Grid paging on the Web