AD
Administrator
Syncfusion Team
September 30, 2005 02:22 AM UTC
Hi Keyur,
I am not really sure how to do this but one idea would to set binder.AllowSetValueOnCurrentItem = false;
and then handle the RowLeave event. In that event you could loop through the values of the current record (simply call Model[row, col] to get styles) and save them. Then you call you call binder.CancelEdit and then you manually create a new record in your datasource and applies the values you previously saved to it.
To hide a row you could set Model.HideRows[rowIndex] = true;
Stefan