Results 1 to 3 of 3

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

    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
    6
      0  

    Exclamation 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
    6
      0  

    Lightbulb 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
    9,493
    Vote Rating
    256
      0  

    Default

    Thanks for the workaround! A bug has been opened in our bug tracker to handle the issue.


    Join me at SenchaCon 2016!

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
  •