Smart GWT Power 2.5 Release
I am looking for some advice on handling the following scenario with a ListGrid component:
There are multiple text columns in the grid and the ability to search most of those fields via a substring comparison is correct. However, I have two columns where that substring fails to match what they are looking for (e.g. Complete, Incomplete). Entering "Complete" will identify both "Complete" and "Incomplete".
My first plan of attack was to use the ListGrid.addFilterEditorSubmitHandler() method and update the underlying Criteria with a more precise AdvancedCriteria definition.
However, I do not seem to be able to override the ListGrid criteria in the event handler using the methods: ListGrid.setCriteria() or ListGrid.setFilterEditorCriteria()
What is the proper approach to override a filter editor criteria once the user has initiated the query request via the filter editor submit button?
Thanks.
I am looking for some advice on handling the following scenario with a ListGrid component:
There are multiple text columns in the grid and the ability to search most of those fields via a substring comparison is correct. However, I have two columns where that substring fails to match what they are looking for (e.g. Complete, Incomplete). Entering "Complete" will identify both "Complete" and "Incomplete".
My first plan of attack was to use the ListGrid.addFilterEditorSubmitHandler() method and update the underlying Criteria with a more precise AdvancedCriteria definition.
However, I do not seem to be able to override the ListGrid criteria in the event handler using the methods: ListGrid.setCriteria() or ListGrid.setFilterEditorCriteria()
What is the proper approach to override a filter editor criteria once the user has initiated the query request via the filter editor submit button?
Thanks.
Comment