AD
Administrator
Syncfusion Team
March 20, 2007 10:30 PM UTC
Hi Manish,
You can use the DisplayElements.IndexOf method to find the rowIndex of the record in a RecordExpanding event. But it depends on the display elements of the grid.
int RowIndex = gridGroupingControl1.Table.DisplayElements.IndexOf(e.Record);
Also you can get the unsorted record index by using the UnsortedRecords property of the grid table. Here is a code snippet
int RecordIndex = gridGroupingControl1.Table.UnsortedRecords.IndexOf(e.Record);
Best regards,
Haneef