BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridDataBoundGrid1_CurrentCellMoved(object sender, Syncfusion.Windows.Forms.Grid.GridCurrentCellMovedEventArgs e) { GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; if(cc.RowIndex == this.gridDataBoundGrid1.Model.RowCount) { this.gridDataBoundGrid1.Binder.BeginEdit(); this.gridDataBoundGrid1[cc.RowIndex , 1].Text = "defaultcol1"; this.gridDataBoundGrid1[cc.RowIndex , 2].Text = "defaultcol2"; } }
gridDataBoundGrid1.Model.Options.WrapCellBehavior = GridWrapCellBehavior.NextControlInForm
,
there is an event that fires as you tab off the bottom right cell. If you catch this event, you can add a row to the underlying datasource. Then refreshing the grid will show an empty row. Attached is a little sample.