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
745
The grid stops refreshing when we switch the DataSource
posted

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.

SampleVariableDataSource.zip
Parents Reply Children
No Data