I have a DataGrid that has a similar structure to the CRUD example here.
That is, the rows of the DataGrid are given by a Repeating panel, and each row has a read and write DataRowPanel.
If I use the ‘>>’ control it takes a very long time to get to the last page (~20 seconds). There are 156 records being pulled from the DataTable.
I realize that this topic has been discussed before but I could not quite wrap my head around the techniques used there.
Even if I turn all the rows into dictionaries, make one server call, and return all rows to the client, it still takes ~20 seconds to get to the last page of 156 records.
Is there a way to optimize speed, or redesign my app, for navigating through the DataGrid’s pages (including selecting the last page), while still using DataTables?
Here is an example app that demonstrates the issue.
https://anvil.works/build#clone:6ZXHWYZVYR7Z3GWV=EEZ7VO563NOIB7WOKRPSPODY