BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
grid.CurrentCell.MoveTo(grid.model.RowCount, 1);
If this does not work, then also call grid.Focus() and set grid.ForceCurrentCellMoveTo = true; to see if that handles it.
If you have EnableAddNew = true, then the row should be one less than the RowCount.
> grid.CurrentCell.MoveTo(grid.model.RowCount, 1);
>
>
> If this does not work, then also call grid.Focus() and set grid.ForceCurrentCellMoveTo = true; to see if that handles it.
>
> If you have EnableAddNew = true, then the row should be one less than the RowCount.
private void cm_ListChanged(object sender, ListChangedEventArgs e) { if(e.ListChangedType == ListChangedType.ItemAdded) { Console.WriteLine(e.NewIndex); this.gridDataBoundGrid1.Focus(); this.gridDataBoundGrid1.CurrentCell.MoveTo(e.NewIndex+1,1); } private void button1_Click(object sender, System.EventArgs e) { CurrencyManager cm = (CurrencyManager)this.BindingContext[dt]; ((IBindingList)cm.List).ListChanged += new ListChangedEventHandler(cm_ListChanged); DataRow dr = dt.NewRow(); dt.Rows.Add(dr); ((IBindingList)cm.List).ListChanged -= new ListChangedEventHandler(cm_ListChanged); }