I am using a Dim All_PriceLists As System.Collections.ObjectModel.ObservableCollection(Of BSPLib.PriceLists.PriceListPrime)
where PriceListPrime
implements Inotify for all properties in it.
I bound the All_PriceList
to a datagrid as DataGrid1.ItemsSource = All_PriceLists
but when I do All_PriceLists=Getall()
where Getall reads and gets the data from the DB, the datagrid is not updating.
It updates only when I hack it this way:
DataGrid1.ItemsSource = Nothing
DataGrid1.ItemsSource = All_PriceLists
Could you please tell me where I have gone wrong or what I should implement. Thank you.