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.
Hello David,
Thank you for the update. When I run in v17.2 2188 and v16.1 2231 I get the same result for binding to the data table. The behavior I see is that I filter the grid so a single row appears, I then click the button to clear and reassign the data. After that the filter is still being applied and I still only see one row of data. I am attaching the sample I made based on the code you have provided.
IG_16_1_tiny.zip
Please see attached repro. This is based on the full sample browser for 2016.1. Please restore the large assets ("Storage") from your archives since it was too big to upload. That "Storage" folder needs to be added to Infragistics.Samples.Assets and needs to end up in the output directory after build.
Also, please provision your own projects for "Infragistics.Themes.*"
Hopefully this helps get us on the same page. Once you filter on a customer id and click refresh, please let me know what happens. (ie. does the filter remain in effect and continues to be properly respected?)
After that you can upgrade to 17.2 and see the difference in behavior
We are upgrading from 16.1.20161.2231.
When you say "get the same behavior", then which behavior is it? Does the filter remain in effect or does it start being ignored? Please focus on "BindingDataTable" because that is the one that has both behaviors, depending on the version of IG controls.
I'm going to try to upload another sample. This is the full samples browser with some minor customizations. Please use the StartupGrid and tell me what happens when you filter on a customer ID and click the Refresh button
Thank you for contacting Infragistics!
What version of v16.1 are you using? When I test this in v16.1 and v17.2 I get the same behavior.