Pagination not working in data grid

When working with a DataGrid panel it’s important to use a DataRowPanel as the item template for the RepeatingPanel. A DataGrid, RepeatingPanel and DataRowPanel work together to do pagination.

In the clone, you’ve used a BlankPanel or a ColumnPanel as the item template. The problem there is that a column panel doesn’t know how to work with a data grid and so the repeating panel doesn’t think it has any rows.

Adding a new repeating panel to the datagrid will get you the correct row template.

The structure diagram in the docs shows the typical layout for a DataGrid component.

2 Likes