22 Nov 2011 7:53 AM #1
How to use "Ext.ux.gird.filter.FiltersFeature" with Ext Designer
I use Ext Designer 1.2.2 to generate a window including a grid. Now I want to apply filtersFeature to the the grid. How should I do? The difficult is that, we can't get the grid before callParent in the initcomponent method. So I hava some tests with some events such as render, beforerender ect on the window. But it's too late bacause the grid view has been generated. Should I immediatly modify the prototype? Can any body give some advise?
22 Nov 2011 9:36 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You need to include the filters feature in the features config when you create the grid. Look at the source for this example:
http://docs.sencha.com/ext-js/4-0/#!...ter-local.htmlMitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
22 Nov 2011 5:00 PM #3