In flex layout:
grid.flex()method in the refresh event.
Above 3 work independently of each other so you can choose any of the options for your layout. This layout works similar to normal HTML tables and is typically used for small tables. Since there is no scrollable viewport in the grid, so virtual rendering is not used.