AD
Administrator
Syncfusion Team
January 23, 2006 02:04 PM UTC
Hi mopicus,
You can use the CurrentCellKeyPress Event for adding new row. Here is the Code snippet
private void gridControl1_CurrentCellKeyPress(object sender, KeyPressEventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
if (cc.RowIndex == this.gridControl1.RowCount)
this.gridControl1.RowCount = this.gridControl1.RowCount + 1;
}
Let us know if you need any assistance,
Regards
Madhan.