Results 1 to 3 of 3

Thread: store revert to initial sort?

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2013
    Location
    NYC
    Posts
    47
    Answers
    2

    Question store revert to initial sort?

    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?

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256
    Answers
    759

    Default

    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.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2013
    Location
    NYC
    Posts
    47
    Answers
    2

    Default

    Is there a way to programmaticly get the initial sorters?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •