Hi guys, after few devastating research I am here to as a question. I have set the value setShowFilterEditor to true here and
I was expecting I will get SomeName in userName filter editor, but it is not populated.
If I do
it works, but I do not want to do it since we hided native filter button, instead exposed server side filtering by our code. Since there is not filter button clicked
and
both are returning different criteria objects. If user removes some values from filter and click a our refresh button still
has old criteria clauses. Then I tried to disable client side filtering with following code which did not work either.
Is there any way to set filter editor value in filter editor programmatically thru grid.getFilterEditorCriteria()? Or is there any way of forsing grid not to filter but enable filter editor?
This has been driving me crazy.
Thanks in advance.
Code:
grid.setShowFilterEditor(Boolean.TRUE) grid.setFilterEditorCriteria(new Criteria("userName", "SomeName"));
If I do
Code:
grid.setCriteria(new Criteria("userName", "SomeName"));
Code:
grid.getCriteria()
Code:
grid.getFilterEditorCriteria()
Code:
grid.getCriteria()
Code:
ResultSet resultSetProperties = new ResultSet(); resultSetProperties.setUseClientFiltering(false); grid.setDataProperties(resultSetProperties);
This has been driving me crazy.
Thanks in advance.
Comment