AD
Administrator
Syncfusion Team
November 4, 2003 10:20 AM UTC
To work around the first problem, you can handle the CurrentCellAcceptedChanges event. In there if you are editing the filtered column, you can save the value to the underlying DataTable. Attached is a little sample showing how you might go about it. (It assumes your datatable has a primary key column that cannot be edited by the user.)
You can use the RowLeave event to catch the grid before it tries to move things to the datasource. You can use grid.Binder.IsEditing to check whether the row has been edited or not as this event is hit for every leave.