You found a bug! We've classified it as EXTJS-14075 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    226
    Vote Rating
    2
    ypandey is on a distinguished road

      0  

    Exclamation Error in opening column header menu for Stateful Grid Grouping & Filter Features

    Error in opening column header menu for Stateful Grid Grouping & Filter Features


    Hi,

    Description: Column Menu doesn't open for stateful grid having filter & grouping feature.


    For Ext JS 4.2.2

    We are using stateful grid having filter feature and grouping feature.
    But when there is some state stored for filters, then opening of "column header menu" throws an error.

    https://fiddle.sencha.com/#fiddle/7a7
    (Enable Load Unsafe JavaScript by clicking “Shield” icon in address bar of ‘Chrome’ browser)

    Steps to Reproduce:
    1. Filter on name column.
    2. Rerun the fiddle, filters would be persisted.
    3. Now try opening any column header menu.
    4. It won't open and will throw an error.
    Could you please provide some workaround/fix for this issue.
    Thanks
    Yogesh

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    226
    Vote Rating
    2
    ypandey is on a distinguished road

      0  

    Lightbulb workaround: Purge Menu Cache

    workaround: Purge Menu Cache


    Found this workaround because It starts working fine if column(s) is/are moved.

    // Menu changes when columns are moved. It will be recreated.
    Code:
    grid.headerCt.purgeCache();
    Fiddle: https://fiddle.sencha.com/#fiddle/7he

  3. #3
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    3,385
    Vote Rating
    62
    Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough Gary Schlosberg is a jewel in the rough

      0  

    Default


    Thanks for the workaround! A bug has been opened in our bug tracker to handle the issue.
    Get on the Fast Track with Sencha Training http://sencha.com/training

    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

Thread Participants: 1

Tags for this Thread