I'm trying to apply filters for Grid data externally through custom code instead of using Grid context menu.
the API seem simple enough as,
StringFilter<Film> descFilter = new StringFilter<Film>(filmProps.description());
this code executes on button click and appropriate log is also displayed using GWT.log() but still no effect of filter.
But on clicking button second time filters are applied. What could be reason for this?
Please let me know if code snippet mentioned above is sufficient for applying string filters?