Data Grid & Pagination?

Does the data grid control play nice with the pagination controls?
If so could you provide some help on how this is done?
Alternatively, if not, would you provide some guidance on other solutions?

I have about 230 records coming from Xano, and the paginator control does not seem to affect the data shown in the data grid.

Thanks,
Pete

1 Like

You can handle the pagination directly and modify the data source you show in the data grid.
It is the same you would do with a column layout.
See here Conflict of "Load More" and frontend filters/search - #4 by dorilama for an example of handling frontend pagination. Instead of columns use data grid. Instead of a β€œmore button” add two buttons to increase or decrease the current page. Be sure to not decrease under 0 or increase above the maximum and change the formulas to account the number of items you want to show on every page (in the example is 3)

Also the documentation has other examples here πŸ“„ Pagination in the Frontend and here πŸ“œ Pagination in the Backend

1 Like