AD
Administrator
Syncfusion Team
November 4, 2004 11:20 PM UTC
You can try using either CurrrentCellValidating or CurrentCellConfirmChanges. To get the grid row in thes events, you can use grid.CurrentCell.RowIndex. You might alos need grid.CurrentCell.Renderer.ControlText (holds teh new value).
To get the record (Actually the DataRowView) from the rowindex in a sorted grid, you can use the currencymanager.
CurrencyManager cm = (CurrencyManager) grid.BindingContext[grid.DataSource, grid.DataMember];
DataRowView drv = cm.Current;