Persisting and Restoring Sort State
The sort state can be serialised and restored, for example from a URL or from local storage. Restoring ignores invalid entries and reports them, so shared links and saved views work reliably.
Planned. This page shows the specification from issue #186. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A grid whose sort state is synced to the URL hash.
Expected behavior
Reloading the page restores the sort. Invalid entries are dropped, and the dropped entries are listed in a warning panel.
Planned API surface
api.getStateapi.applyStatesortModelToQueryqueryToSortModelonStateRestoredAcceptance criteria
- The round trip preserves direction and priority (pending)
- Unknown columns are ignored and reported (pending)
- The serialisation format is versioned (pending)