-2

When I tried to reconfigure the grid with columns and stores, It is locking/freezing grid column level menu

grid.reconfigure(store, cols);

please provide your suggestion to address this issue.

DilumN
  • 2,889
  • 6
  • 30
  • 44
Venu Morigadi
  • 589
  • 6
  • 4
  • 1
    You should add additional information, including some of the source you are using outside the one function call. Also, information about what you were expecting to happen vs. what is actually happening will help to get you an answer. – Steve Mitcham Apr 13 '15 at 17:14
  • It's impossible to suggest anything. Your question is missing too much information. – Lorenz Meyer Apr 13 '15 at 19:01

1 Answers1

0

Below script worked for me :

Ext.define('Overrides.grid.filters.Filters', {
    override: 'Ext.grid.filters.Filters',

    onReconfigure: function(grid, store, columns, oldStore) {
        var me = this;

        me.sep = Ext.destroy(me.sep);
        if (me.menuItems && me.menuItems[grid.id]) {
            me.menuItems[grid.id].destroy();
        }

        me.callParent(arguments);
    }
});
Paweł Głowacz
  • 2,926
  • 3
  • 18
  • 25
Venu Morigadi
  • 589
  • 6
  • 4