void gridGroupingControl1_CurrentRecordContextChange(object sender, Syncfusion.Grouping.CurrentRecordContextChangeEventArgs e)
{
if (e.Action == Syncfusion.Grouping.CurrentRecordAction.EndEditComplete)
{
if (e.Record.Kind == Syncfusion.Grouping.DisplayElementKind.AddNewRecord)
{
this.gridGroupingControl1.Table.CurrentRecord = this.gridGroupingControl1.Table.AddNewRecord;
this.gridGroupingControl1.Table.CurrentRecord.BeginEdit();
}
}
}
void gridGroupingControl1_CurrentRecordContextChange(object sender, Syncfusion.Grouping.CurrentRecordContextChangeEventArgs e)
{
if (e.Action == Syncfusion.Grouping.CurrentRecordAction.EndEditComplete)
{
if (e.Record.Kind == Syncfusion.Grouping.DisplayElementKind.AddNewRecord)
{
this.gridGroupingControl1.Table.CurrentRecord = this.gridGroupingControl1.Table.AddNewRecord;
e.Record.GetRecord().BeginEdit();
this.gridGroupingControl1.TableControl.CurrentCell.MoveTo(e.Record.GetRowIndex(), 1);
this.gridGroupingControl1.TableControl.CurrentCell.Activate(e.Record.GetRowIndex(), 1);
this.gridGroupingControl1.TableControl.CurrentCell.BeginEdit();
}
}
}