HI,
I am using Extjs 4.0.7 Grid.
I want to put a filter on a column.
Can anyone put a sample code for the same as i am not able to find any plugin for that.
Thanks
HI,
I am using Extjs 4.0.7 Grid.
I want to put a filter on a column.
Can anyone put a sample code for the same as i am not able to find any plugin for that.
Thanks
examples/ux/grid/FiltersFeature.js
Scott.
How do you want to filter the grid?
edit/Button, column editor at top of each column, menu selection?
Scott.
Here is a very basic and small filter, I hope you can use it and learn how to do more complex filters.
Code:listeners:{ change:function(el,rec,oldrec){ var panel = Ext.getCmp('showTrackingLogs-id'); panel.getStore().filter([{ property:'descripcion', value:rec }]); if(rec==""){ panel.getStore().clearFilter(); } } }
____________________________________
do not make install, just compile it.!!!
--------------------------------------------------
//*************k4m1k4z3************\\
Hi Scott,
I wanted a filter (on string) under the menu items of a specific column header as shown on the sample and demos page of Sencha. Just that i will put a dropdown in place of textfield under submenu of filter.
The problem is that i indirectly refer the Library of ExtJS rather than having it all in my proj.
And i am unable to find the 'Ext.ux.grid.FiltersFeature'.
examples/ux/grid/FiltersFeature.js
Scott.