Jan 11, 2012, 9:46 PM
[CLOSED] Ext.Net GridPanel Filters (The filters are not maintained if they are created by code)
I have this code:
Declare the GridFilter and GridFilterCollection:
Declare the GridFilter and GridFilterCollection:
GridFilters gridFilters = new GridFilters( ID = GridPanel.ID + "Filters");
GridFilterCollection filterColl = new GridFilterCollection();
After I add a Filter to the list:filterColl.Add(new NumericFilter { DataIndex = ColumnIndexName });
Then I add the list of filters to the gridFilters:gridFilters .Filters.AddRange(filterColl);
After I use this codeGridPanel.Reconfigure( GridStore.ClientID, GridPanel.ColumnModel);
GridPanel.Plugins.Add(gridFilters );
GridPanel.RegisterColumnPlugins();
GridPanel.ColumnModel.RegisterCommandStyleRules();
And when I show the grid in the menu of the column doesn't show the filters option, can you help me with this?
Last edited by Daniil; Jan 16, 2012 at 9:02 AM.
Reason: Marked as [CLOSED]. No requested info was provided.