Details view not updating live when updating underlying data

Hello,

I'm using a SfDataGrid with Master-Detail View. The DataGrid has multiple ComboBox Columns. It is defined in XAML as such:


As you can see its ItemsSource is PubSubMappingTable which is a Data Object Collection that implements 

IList, INotifyCollectionChanged, IEnumerable, INotifyPropertyChanged. It Contains multiple Properties, among them is another Data Object Collection named Topics. 

Topics is another Data Object Collection that contains multiple Properties, among them is another Data Object Collection named Fields.


In my Grid, i have a comboBoxColumn for my Topics:


And the Details View uses Topic.Fields as its relational column:



Everything works fine, except that the details view (that contains the fields of the selected topic) is not updated when i change the topic, even though my data grid uses LiveDataUpdateMode="AllowChildViewUpdate"!

I would appreciate your help. 

Thank you,

Ronnie.



1 Reply

MA Mohanram Anbukkarasu Syncfusion Team August 12, 2021 02:26 PM UTC

Hi Ronnie, 

Thanks for contacting Syncfusion support.  

We have checked the reported scenario by changing the value of the RelationColumn for a specific details view row at runtime. It works properly when LiveDataUpdateMode is set to AllowChildViewUpdate". The sampel we have used to check this scenario is available in the following link for your reference. 


Please have a look at this sample and let us know if we have missed anything you have done in your application. Otherwise try to reproduce the reported problem in this sample and revert to us with the modified sample and more details about the issue in it. It will be more helpful for us to find the exact cause for the issue and to provide a prompt solution.  

Regards, 
Mohanram A. 



Loader.
Up arrow icon