AD
Administrator
Syncfusion Team
August 8, 2005 10:36 PM UTC
By default, the grid saves the changes to a row back to the datasource when you leave the row. So, if your datasource is a datatable, the datarow will not actually change until the user leaves the row. If you want to write the changes back to your database from the datatable at that point, you should use the RowSaved event. At that point, the grid has saved the row back to teh Datatable, and you could then move the datatable back to your database.
In CurrentCellValidating, you can get the proposed new value using grid.CurrentCell.Renderer.ControlText.