We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Select from different DetailsView

Hello. I have a Master-Details grid with multiple selection both in the grid as in the details.

I want to keep the details items selected after changing to another master row or details from a different master and I do not know how to do it.

Every time I click on another master row to expand or i am trying to select it looses the previous selection. It only works if a do a multiple select in the same detail list.

Re


1 Reply

DM Dhanasekar Mohanraj Syncfusion Team February 8, 2023 03:03 PM UTC

Hi David Sanchez,


By default, in the MasterDetailsViewDataGrid, each child contains a different DetailsViewDataGrid. Please refer to the below screenshot.




According to the implementation, SfDataGrid SelectedItems do not persist when the record is selected in another DetailsViewDataGrid or ParentGrid. We regret to inform you that we do not currently support keeping SelectedItems while selecting multiple rows in different DetailsViewDataGrid or ParentGrid. 


Regards,
Dhanasekar M.


Loader.
Live Chat Icon For mobile
Up arrow icon