PDA

View Full Version : FilterFeature.js not available



8 Aug 2012, 4:37 PM
Hi,

I am filtering data on my grid. But I recently found that, FilterFeatures.js is not available in ExtJS 4 folder. Why that JS is not available in zip folder? and what should I do to use it in my application? I saw somewhere that I have to use below line to have filter feature, but I don't want to rely on internet to connect to the URL. I want to have that locally in my application. Please suggest the ways ..


Ext.Loader.setPath("Ext.ux", "http://cdn.sencha.io/ext-4.0.7-gpl/examples/ux");

Thanks.
J.M.

vietits
8 Aug 2012, 5:52 PM
Ext.ux.grid.FiltersFeature is an extension that is included with the Ext package. Its js file is in examples/ux/grid folder. To use this extension locally, you just need to set path for 'Ext.ux' namespace to point to examples/ux folder. Example:


Ext.Loader.setPath("Ext.ux", "[path to your ext folder]/examples/ux");