Here we show examples of some unusual use cases of scrolling and the grid.
It is possible to show scrollbars even when there is not enough data to need scrolling. This voids visual table 'jumps' when toggling short and long data sets. To make that work, use the alwaysShowHorizontalScroll and alwaysShowVerticalScroll properties of the Grid.
Shows the autoHeight feature working with fullWidth and pagination.
Depending on your scroll position the last item's group data may not be visible when clicking on the expand icon.
You can resolve this by using the function api.ensureIndexVisible()
. This ensures the index is visible, scrolling the table if needed.
In the example below, if you expand a group at the bottom, the grid will scroll so all the children of the group are visible.