View Full Version : store revert to initial sort?

24 Jan 2014, 6:24 AM
Is there a way to have a store revert to its initial sorter?

We have a requirement to remove all customization from a grid. The grids reconfigure() method works great (put all columns back to their initial state), but the state of the underlying store is not affected. Unfortunately, I can't find a similar method on the store (revert to initial filter, sorter, etc).

Any ideas?

24 Jan 2014, 6:29 AM
Nothing to do this at the moment. You'd need to track those states when you first configure it and then remove sorters/filters and reinstate the old ones.

24 Jan 2014, 6:44 AM
Is there a way to programmaticly get the initial sorters?