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
2150
Change in behavior with XamGrid ItemsSource DataView From 16.1 to 17.2
posted

I am having trouble with column filters after upgrading to 17.2.  We upgraded from 16.1.  We are on the 

Attached are two samples.  These need to be introduced into the 17.2 samples browser to see what I'm talking about.

The one that is called "BindingDataTable" is basically the scenario we were using, and it no longer works.  We are on 17.2 service release 2188.

SamplesModified.zip

If you run that sample, you will see that it fills a table with customers.  Please filter the "Customer ID" column by "ALFKI" and then click the Refresh button.  You will see that your filter is no longer being applied to the data, even though the visual feedback (in column header) indicates that the filter is still in effect.  This is a problem for us because in the prior version of the xamGrid (16.1) the filter seem to behave differently.  It remained in effect even after the contents of the ItemsSource data had changed.  Please let me know if this is not clear.

Next, please review the "CustomFilterDialog" that is also attached in the zip. You may filter the first name by "arnie" and then click refresh.  In this case the filter remains in effect, even as the underlying data has been changed.

Please let me know if there is a reasonable explanation for the change in behavior, or if it is a bug.  Ideally the filter would remain in effect, despite underlying changes to the data collection in the viewmodel.