The problem of restoring the state of the datatable.

In the example, you can see that the url function is executed twice during state restoration. The first time with the saved sorting rule, the second time with the filter conditions.
1. Sort by Title column.
2. Filter by the Title column.
3. Press the button "Save state".
4. Configure new sorting and filtering rules.
5. Press the button "Restore state".
Result: the function will be executed twice. This is noticeable by the blinking of the table and in the browser console.

Can a restore operation be performed in a single request to the server?
Or freeze the grid drawing until the state is fully restored?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!