AD
Administrator
Syncfusion Team
February 21, 2007 06:52 PM UTC
If you are working with DataTables as the grid's DataSource, then you can try this code to map a Record to its underlying DataRow object.
//given some known Record r
CurrencyManager cm = this.gridGroupingControl1.Table.GetCurrencyManager();
int loc = gridGroupingControl1.Table.FilteredRecords.IndexOf(r);
DataRowView drv = cm.List[loc];
DataRow dr = drv.Row;