Results 1 to 5 of 5

Thread: Grid with List Filter on Store Load

  1. #1
    Sencha User
    Join Date
    Dec 2015
    Posts
    118
    Answers
    12

    Default Grid with List Filter on Store Load

    Hello,
    I am finding something weird about the grid filtering.

    We are currently monitoring client filter change and save the state and reapply it next time the user open the same view.

    We monitor the changes to grid filters inside filterchange event handler on the grid.

    The issue is that filterchange is fired on store load if there is an existing list filter applied already.

    Here is the fiddle.

    This happens in 6.0.1. It seems like it has been fixed in 6.2.0.

    What is the workaround for folks still using 6.0.1?

    Thank you,

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    I checked out your test case but I was unable to reproduce the issue. I set a filter and the click the button, but I'm not seeing the console entry except when actually modifying the filter. Which which browser are you seeing this issue?

  3. #3
    Sencha User
    Join Date
    Dec 2015
    Posts
    118
    Answers
    12

    Default

    If you set the filter on Name column, filter change will be fired.
    Now, when you click on reload, filter change will be triggered again.
    I tested this on the 3 major browsers(ie, chrome, and firefox).

    Thank you,

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    Not sure why I wasn't able to see it the first time. It looks like this issue has been fixed though, as I am unable to recreate using 6.0.2 or the latest nightly release of 6.0.3.

  5. #5
    Sencha User
    Join Date
    Dec 2015
    Posts
    118
    Answers
    12

    Default

    This only happens on 6.0.1.x

Similar Threads

  1. Reloading grid store : filter list not updated
    By ouCharlotte in forum Ext 5: Q&A
    Replies: 3
    Last Post: 25 Jun 2015, 2:38 PM
  2. Replies: 1
    Last Post: 16 Jun 2015, 2:08 PM
  3. Replies: 7
    Last Post: 13 Mar 2012, 3:46 PM
  4. Replies: 1
    Last Post: 20 Jul 2011, 5:48 AM

Tags for this Thread

Posting Permissions

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