Official Content

Automatic paging implies that paging is implemented in the generated code without the need to program anything.

For Web applications, when the Rows property for a Grid is different than zero, GeneXus will perform automatic paging. That is, the paging buttons (FirstPage, PreviousPage, NextPage, and LastPage) are automatically added to the Grid footer and they will behave as expected.

i2016_06_08_12_48_481_png

However, if any of those events are included explicitly in your object code, automatic paging will not be available. See Grid paging on the Web for details about programming paging manually.

Styles for paging buttons in Web applications

In the Web Theme object you are using, under the Image class, the following classes are offered:

i2016_06_07_20_02_541_png

For those child classes, you can configure the appearance of the automatic paging buttons.

Notes 

  • Automatic paging is supported in Grids with and without Base Table.
  • For those cases in which the Grid does not have a base table or the filters cannot be evaluated on the server side, the LastPage button doesn't work. The GotoPage methodRecordCount property aren't implemented either in that case.
  • In Native Mobile apps, when the Rows property is set to a value different than zero, Grid paging behaves as Infinite scrolling.

Scope

Controls: Grid control, Free Style Grid control
Generators.NET Framework.NETJava

See Also

Infinite scrolling



Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant