Results 1 to 3 of 3

Thread: filter

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default filter

    i created a function within controller. In the function , store.filter() was used . The problem was that store.filter() cannot give me the exact match items.

    Any suggestions?

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335
    Vote Rating
    90
      1  

    Default

    Hi!

    have you passed any filter for this store before filtering ? i mean it may use existing filters during filtering.

    By default, the passed filter(s) are added to the collection of filters being used to filter this Store.
    To remove existing filters before applying a new set of filters you may use:-

    Code:
    store.clearFilter(true);
    for more info, check this:-
    http://docs.sencha.com/ext-js/4-1/#!...od-clearFilter
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Jul 2012
    Posts
    10
    Vote Rating
    0
      0  

    Default

    solved the problem.

Posting Permissions

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