A lot of possibilities exist to configure the filter behaviour on grids.
We have a datasource that is not clientOnly, but want the grid filtering to occur client side. Our grid filters 'onKeyPress', the 'autoFetch' is false.
There are a lot of suggestions, but none of them seem to work for this case:
In general, the client side filtering works (without any special properties set), but the first character entered in the filter editor causes a server data fetch, causing a complete refetch, not filtering any data. From the second character on, all goes well.
We've tried:
and so on.
What would be the best approach, is there a solution for this?
Thanks,
Sander
We have a datasource that is not clientOnly, but want the grid filtering to occur client side. Our grid filters 'onKeyPress', the 'autoFetch' is false.
There are a lot of suggestions, but none of them seem to work for this case:
In general, the client side filtering works (without any special properties set), but the first character entered in the filter editor causes a server data fetch, causing a complete refetch, not filtering any data. From the second character on, all goes well.
We've tried:
Code:
theGrid.getResultSet().setUseClientFiltering(true);
Code:
dataSource.setAutoCacheAllData(true);
What would be the best approach, is there a solution for this?
Thanks,
Sander
Comment