PDA

View Full Version : issue with applying filters to LiveGrid?



suresh22446688
26 Jun 2012, 8:16 AM
Hi,
I am using GXT's LiveGrid(http://www.sencha.com/examples/#ExamplePlace:livegrid). i want to apply filters(http://www.sencha.com/examples/#ExamplePlace:filtergrid). i have below code. i am using gxt 2.2.3 version.





GridFilters filters = new GridFilters ();
filters.setLocal(true);

StringFilter nameFilter = new StringFilter("someColumn");
filters.addFilter(nameFilter);

filters.init(grid);
grid.addPlugin(filters);





if i enter filtered text then it filters properly. if i remove the filtered text then it will not get the data what ever it had before filtering. Do i need to override anything else?


Thanks!

swamy
9 Jul 2012, 11:45 PM
yes
u need to overide reload() method of AbstractGridFilters