Getting selected rows from all details view in SfDataGrid

How to obtain selected rows from several details view. There is a sample on the forum showing how to do that within one master details view. If details view from another master record is selected then all selections from earlier selected rows dissapear. How to select multiple rows in differrent details views?


I show on the picture, what i want to achieve:

multiselect.jpg


I marked rows i want to select. I want them highlight when selected and get the selected row data and selected row parent data. Could someone help me? :)


4 Replies 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team August 24, 2021 01:21 PM UTC

Hi James,

Thanks for the update.

Currently, we are analyzing your requirement of “Getting selected rows from all details view in SfDataGrid” We will validate and update you the details on or before August 26, 2021.

We appreciate your patience until then.

Regards,
Vijayarasan S


VS Vijayarasan Sivanandham Syncfusion Team August 26, 2021 02:56 PM UTC

Hi James,

Thank you for your patience.

In SfDataGrid does not contain the direct support to achieve your requirement “Getting selected rows from all details view in SfDataGrid”. Currently we are checking possibilities to achieve your requirement via workaround. So, we need two more business days to validate this. We will update with further details on or before August 30, 2021.

We appreciate your patience and understanding.

Regards,
Vijayarasan S 



VS Vijayarasan Sivanandham Syncfusion Team August 30, 2021 03:24 PM UTC

Hi James,

Thank you for your patience.

We are still working on this. We will update with further details on or before September 01, 2021. We appreciate your patience and understanding.

Regards,
Vijayarasan S



VS Vijayarasan Sivanandham Syncfusion Team September 1, 2021 11:20 AM UTC

Hi James,

Sorry for the inconvenience caused.

In MasterDetailsViewDataGrid each child contains different DetailsViewDataGrid. Please refer the below screen shot,




As per the implementation, SfDataGrid SelectedItems do not maintain while selecting the record in another DetailsViewDataGrid. We regret to inform you that currently, we don’t have the support for SelectedItems to maintain while selecting multiple rows in different DetailsViewDataGrid. 
We also regret to inform you that currently, Our SfDatagrid source architecture does not provide support to achieve your requirement of “Getting selected rows from all details view in SfDataGrid”.

Regards, 
Vijayarasan S 


Marked as answer
Loader.
Up arrow icon