After the grouping sfDataGrid1. SelectedIndex have error
sfDataGrid1.GroupColumnDescriptions.Add(new GroupColumnDescription() { ColumnName = "店号" });
sfDataGrid1.ExpandAllGroup();
int i = sfDataGrid1.SelectedIndex;
var records = sfDataGrid1.View.Records;
var dataRowView = records[i].Data as DataRowView;
chinamayu ,
We are currently checking your reported problem with provided information and
we need a time to validate this. We will update you with further details on ,
June 14 2023.
chinamayu ,
In case of grouping, we are unable to use SelectedIndex directly because records do not consider grouping elements as index values and we have prepared a sample based on your requirements. Please review the sample and let us know if you require any further assistance.
Attachment: Sample_57337f2a.zip
Sweatha Bharathi
Hi chinamayu ,
You can also use this way to retrieve the data row by using the selected item value.