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 User
    Join Date
    Dec 2011
    Posts
    242
    Vote Rating
    7
    ypandey will become famous soon enough

      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 User
    Join Date
    Dec 2011
    Posts
    242
    Vote Rating
    7
    ypandey will become famous soon enough

      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
    5,446
    Vote Rating
    112
    Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice Gary Schlosberg is just really nice

      0  

    Default


    Thanks for the workaround! A bug has been opened in our bug tracker to handle the issue.
    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 human resources manager: fabienne.bell@sencha.com

Thread Participants: 1

Tags for this Thread