I have a DataGridControl bound to a DataGridCollectionViewSource. The Source of the DataGridCollectionViewSource is a collection that doesn’t implement change notification. How do I force the DataGrid (or the DataGridCollectionViewSource) to refresh its data so the UI will update?
Imported from legacy forums. Posted by Brian (had 611 views)
I Have Same Problem, can anybody tell me what is “PaymentDGSource”
DataGridCollectionView dv = (DataGridCollectionView)dgServer.ItemsSource; (dgServer is my gridName) dv = new DataGridCollectionView(_lstServer); (_lstServer) is BindingList dv.Refresh(); dgServer.ItemsSource = null; dgServer.ItemsSource = dv;
It Refresh the grid only first level, it break the detail relations contain in it.
I want to refresh grid with all the relations it contains.
Imported from legacy forums. Posted by HSINGH (had 944 views)