Takes the user to the previous 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.
The Rows property must have a value different from 0.
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
||Already on the first page
&err = MyGrid.PreviousPage()
If &err = 2
Message.Caption = ‘You already are in the first page’
Grid paging on the Web