Apr 21, 2015, 8:06 AM
[CLOSED] GridPanel MenuFilter need to re-fire after loading data client side
Hi, I need to reload grid data from client side and apply same filter which was applied on Grid menu.
I have to hide/Show grid columns conditionally and to boost it its i am using following code, which is working fine.
But after reloading the data Menu Filter lost and all data shown in Grid while Filter Icon remain at column header.
I need to re-fire that Menu filter Event.
any suggestion ???
I have to hide/Show grid columns conditionally and to boost it its i am using following code, which is working fine.
But after reloading the data Menu Filter lost and all data shown in Grid while Filter Icon remain at column header.
I need to re-fire that Menu filter Event.
any suggestion ???
var gridStore = null;
Ext.suspendLayouts();
var filterData = App.MyGridPanel.filters.getFilterData();
gridStore = App.MyStoreGrid.proxy.data;
// Code to Hide/Show Grid Columns
App.MyStoreGrid.loadData(gridStore, false);
App.MyGridPanel.getView().refresh();
Ext.resumeLayouts(true);
Last edited by Daniil; Aug 26, 2015 at 7:26 AM.
Reason: [CLOSED]