I need a way to determine that the user has applied a column filter in the VirtualGrid control so I can update another control in my UI. Is there a way to determine when a filter has been applied or cleared?
I placed a breakpoint in this event and it does not get raised when I apply or clear a column filter. Is it dependent on another property maybe??
Martin Ivanov
Telerik team
commented on 10 Oct 2023, 10:12 AM
In order to raise the event, you will need first to handle the DistinctValuesLoading event and add items in the e.ItemsSource as shown here. Also, these events will be raised only if you don't use DataProvider. If the DataProvider is used, you should use its method overrides. In your case, this should be the FilterDescriptorsPrepared virtual method of the provider.