If I set the XamDataGrid's DataSource to a ObservableCollection, everything gets updated correctly. I can add new records to the collection and the changes appear on the grid.
If I change the DataSource to another one at runtime, the grid is correctly updated with the new collection, but any modification made on the ObservableCollection at this point will not update de grid.
I've included a simple tester to expose the problem.
You can initially add items without problems, but once you change the datasource.. the grid doesn't listen to the collection changes anymore.
Hello,
Thanks for the sample. I have it working as expected with me. Steps to reproduce:
1. Add couple of times items with the first button
2. Click to change the data source
3. Add more items.
The items from 3. are displayed as well. I am using the latest service release for 9.1 (2075) and I believe we had an issue for this so you might want to download and test it with the Service Release
Thanks.
I'm glad the problem is already fixed.
Could you please provide me the trial version of build 2075. I have build 2049.
I would be happy to.
I have created a support case for you in which you can find the location to download the Service Release.
As expected, build 2075 fixed the bug. Thanks a lot.