I know that this event doesn't exist but was wondering when it occurs if that makes sense. When is a row added to the grid and then a databound source. For debugging purposes it would be nice to know.
Right now I believe the event flow is row enter, row leave, row validating, row saved then is it added?
Thanks for your time.
ADAdministrator Syncfusion Team November 6, 2003 01:15 PM
Here is the event order. (Attached is a little sample that shows this order).
ADAdministrator Syncfusion Team November 6, 2003 01:21 PM
I'm using the Binder.EditModeChanged event:
if (this.grid.Binder.IsEditing && this.grid.Binder.IsAddNew )
CurrencyManager cm = (CurrencyManager)this.grid.Binder.BindingContext[this.DataSource, this.DataMember];
if( cm.Position != -1 )
DataRow addedRow = ((DataRowView)cm.Current).Row;
I'm using this code to the default values for a row.