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
920
XamPivotGrid and FilterDropdownToggle
posted

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). i have created a radiobutton that toggles between the msvalue and the msvolume data.

my brands are the rows and the dates represent the columns.

if i filter my brands by using the "FilterDropdownToggle" to two brands for example, the grid works correctly. however, when i toggle between the two options in the radiobutton my filter brand is reset and doesn't store what was chosen before in my case (the two brands). 

In the toggle we are giving the grid everytime its new Itemsource after the change in the radio button. and so everytime the user changes between msvalue or msvolume, it redraws the grid and resets whatever options we have chosen.

How can we fix that so that the grid is not redrawn everytime and the filter list is stored.

 

Thanks,

Nazha