hi,
If your DataGrid2 pagination bar becomes hidden when using sticky headers + vertical scrolling + frozen first column, that’s a layout issue, not a bug in the widget. DataGrid2 draws the pagination and horizontal scrollbar based on the grid’s own container — if the container’s CSS or parent layout restricts space, the pagination can get cut off on some screen sizes.
1) Let the grid control its scroll area
Do not put the grid inside another scroll or height-restricted container. DataGrid2 manages its own body scrolling when pagination is enabled.
2) Avoid fixed heights on parent containers
If a parent has height: 100% or fixed px height, pagination may drop outside the visible area. Instead use a flex layout so the grid can grow/shrink naturally.
3) Use built-in pagination properties
DataGrid2 has properties under Pagination and Position of Pagination — put it either above or below the table with no CSS overflow restrictions.
Wrap the grid in a container without forcing its own scroll. Use CSS flex if needed:
.gridContainer {
display: flex;
flex-direction: column;
}
.mx-name-YourGrid {
flex: 1 1 auto;
min-height: 0;
}
This ensures the grid body scrolls and the pagination stays visible below the last row.
DataGrid2’s paging and body scroll require the grid’s internal layout to compute space. If external CSS prevents the grid from expanding, the pagination bar can be clipped or hidden.