How to reset the User State without reload the page.

How to reset the User State without reload the page.

OmniwyseOmniwyse Posts: 29Questions: 11Answers: 0

When I click on reset button table should reset to original state how to do that without reload the page.

Answers

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin

    Our StateRestore adds the API methods you'd need for this. For example stateRestore.state().load() to load the state back in, and stateRestore.state() to get the current state which you would read when the DataTable first is loaded (to get the state that you will use the load method to get back to).

    Allan

Sign In or Register to comment.