Persist grid filtering (sorting, paging) state. Get filter via client-side API
Persist grid filtering (sorting, paging) state. Get filter via client-side API
Hello,
I am looking for a way to persist the data table grid filtering (sorting, paging) state while navigating to the row details and navigating back to the grid.
Do you have any recommendations or ready samples?
If not, please clarify what API member can be used for retrieving the current grid filter (through all columns - not for an individual column).
Then, this value can be passed through the URL.
I am looking for a way to persist the data table grid filtering (sorting, paging) state while navigating to the row details and navigating back to the grid.
Do you have any recommendations or ready samples?
If not, please clarify what API member can be used for retrieving the current grid filter (through all columns - not for an individual column).
Then, this value can be passed through the URL.
This discussion has been closed.
Replies
This way the state gets stored in a cookie.
For passing the state through the URL i don't see any option.
See http://datatables.net/usage/features for details.