Replies: 1 comment 1 reply
-
You only need to set |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the DataGrid to display and edit a large dataset, so I am calling my API in the OnReadData event, with e.Page and e.PageSize. I am also capturing changes to the sorting columns by inspecting e.Columns and building parameters for the API to get the data sorted accordingly.
If the sorting columns or their directions change I think it makes sense to go to the first page with the new sorting parameters, and I can easily call my API with page=1 instead of e.Page. But how do I tell the pager we are on the first page?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions