Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
How to get notifications about clearing filters
posted

I need to be notified about every change in filter settings. When filters are changed, events RecordFilterChanged and RecordFilterChanging are correctly raised. But when filters are cleared by clicking on Clear Filter button (be it button for filter cell or for whole filter row), filters are cleared, data updated, but events are not raised.

I have tried to bind to this.XamDataGrid1.FieldLayouts[0].RecordFilters.CollectionChanged event, but it is triggered only when adding new filters, not when filters are cleared.

Thanks

Milan