Persist grid filtering (sorting, paging) state. Get filter via client-side API

Persist grid filtering (sorting, paging) state. Get filter via client-side API

IDTIDT Posts: 1Questions: 0Answers: 0
edited September 2013 in General
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.

Replies

  • koffeinfreikoffeinfrei Posts: 1Questions: 0Answers: 0
    I think you're looking for [code]"bStateSave": true[/code]

    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.
This discussion has been closed.