Is there a specific event that gets fired when the filter editor icon (the funnel like filter icon) is clicked? I would like to add a handler for this action (e.g. filterClickedHandler) but can not seem to find one.
Announcement
Collapse
No announcement yet.
X
-
If you want fixed criteria added to a ListGrid, just call setCriteria() and they will be included in requests initiated by the FilterEditor.
For dynamically added criteria there has always been DataSource.transformRequest().
There is now as of recent nightly builds also a FilterData event on the ListGrid you can register for, which can be slightly simpler when you only want dynamic criteria applied to one grid.
Comment
-
It seems to me based on experiments that criteria set by setCriteria() are not really processed at all if the field is not visible (hidden/detail) and this is quite typical for master-detail table relation. DataSource.transformRequest() is certainly a viable option but I prefer to stick to declarative (XML) data source description as much as possible.
Comment
Comment