We have an editable grid with batch mode set to true. The grid has paging and sorting enabled. The grid uses an Ajax datasource with Serverside mode true.
I would like to prevent the user from paging/sorting while there are changes on that page.
I see that I am able to check the datasource.hasChanges().
I tried to do this in the startRequest event but of course, that also fires before a savechanges() and I see no way to differntiate since there is no indication of the action causing the request.
Any suggestions or samples on how I can accomplish this?
I would like to prevent the user from paging/sorting while there are changes on that page.
I see that I am able to check the datasource.hasChanges().
I tried to do this in the startRequest event but of course, that also fires before a savechanges() and I see no way to differntiate since there is no indication of the action causing the request.
Any suggestions or samples on how I can accomplish this?