Results 1 to 3 of 3

Thread: Store api inconsistencies

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2016
    Posts
    99

    Default Store api inconsistencies

    http://docs.sencha.com/extjs/6.0.1/c...d-removeFilter

    removeFilter exists but removeSort is not, only
    Code:
    store.sorters.clear();
    is available

    actually, what I was looking for is clearSort(clearFilter), not removeSort(removeFilter), but it's also not available

  2. #2
    Sencha User dongryphon's Avatar
    Join Date
    Jul 2009
    Location
    Kansas
    Posts
    1,748

    Default

    You are correct there are inconsistencies on these API's. Instead of bringing over all the Collection methods and munging their names with Sorter and Filter, in v5 we decided to instead encourage use of the filters and sorters collections. In hindsight perhaps we should have deprecated the various and irregular helper methods that manipulate sorters/filters at the Store level.
    Don Griffin

    "Use the source, Luke!"

  3. #3
    Sencha User
    Join Date
    Mar 2016
    Posts
    99

    Default

    Thanks for clarification, that makes sense now.

Similar Threads

  1. Replies: 4
    Last Post: 23 Jan 2014, 2:54 AM
  2. Replies: 11
    Last Post: 8 Sep 2013, 11:05 PM
  3. Replies: 2
    Last Post: 18 Mar 2013, 10:36 AM
  4. Replies: 3
    Last Post: 22 May 2012, 7:56 PM
  5. Replies: 2
    Last Post: 29 Jul 2009, 9:12 AM

Posting Permissions

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