Hi,
I have a XamPivotGrid that takes its data from an xml. this xml has a date, a brand and two values (msvalue and msvolume).
my brands are the rows and the dates represent the columns.
I want to capture the event when a user filters the brands by using the "FilterDropdownToggle" to two brands for example.
Can you please provide me with the event or method that is fired when the brands are filtered?
Thanks,
Nazha
Yes thank you. it worked.
Hello Nazha,
I am just checking have you been able to resolve your issue? If you still need any assistance on the matter do not hesitate to ask.
Hello Nazha ,
I have been looking into your question and I believe that currently we don’t provide exposed event that fires on filtering, still I can suggest you handle the XamPivotGrid.DataSource.ResultChanged event and check if the HasPendingChanges property of any of the rows, columns or filters is currently set to true. The property HasPendingChanges will change its value to true when you filter some of the dimensions, so you can use it in order to check when the filtering is performed. For further reference please have a look at the attached sample, where is shown a possible approach to achieve such functionality.
If you need any additional assistance on this matter, or if you have any further questions please do not hesitate to ask.