Table of contents



Official Content

Grids in Native Mobile Applications support the Auto Grow property. Its purpose is to enable scrolling of the whole screen and not only the grid when the grid has more rows to show than the display can show.

Take a look at the Light CRM default screen:

AutogrowScroll2

What if you want the text block "The Companies listed are the following" to scroll too when scrolling the Grid

Using Auto Grow Property the Grid can be configured so that when a Grid grows the scroll moves the whole screen instead of just scrolling the grid.

AutogrowFalse2

Considerations

  • The Cells of the Grid must be of fixed height. No element inside de Grid should have Auto Grow enabled.
  • The Grid can't have the search option available.
  • A grid with Auto Grow can't have paging. This is because as the scroll is not going to be on the grid the next page of records is never retrieved from the server.
  • The grids in a table with Auto Grow enabled must have the Auto Grow property set too. Grids with the scroll in a panel with scroll (nested scrolls) do not work due to Android limitations.

Sample

You can see this example working on the LightCRM (X Evolution 2) sample.

Note

  • In case that Rows property=N (a numeric value) and Autogrow=False, the Grid control will not make pagination, it will load only N rows instead.

Availability

This options is available as of GeneXus X Evolution 2 Upgrade 4.



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