Thanks Rajagopal
by your solution my problem is solved.
>Hi Ajay,
You can workaround this problem by handling the CurrentRecordContextChange event of the gridgroupingcontrol. Here is the code snippet.
private void gridGroupingControl1_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)
{
if(e.Action == CurrentRecordAction.EnterRecordComplete)
{
int row = e.Table.FilteredRecords.IndexOf(e.Record as Record);
if(this.gridGroupingControl1.TableControl.ViewLayout.HasPartialVisibleRows)
{
this.gridGroupingControl1.TableControl.CurrentCell.MoveTo(row + 5, this.gridGroupingControl1.TableControl.CurrentCell.ColIndex);
this.gridGroupingControl1.TableControl.ScrollCellInView(GridRangeInfo.Row(row + 5));
}
else
{
this.gridGroupingControl1.TableControl.CurrentCell.MoveTo(row + 4, this.gridGroupingControl1.TableControl.CurrentCell.ColIndex);
this.gridGroupingControl1.TableControl.ScrollCellInView(GridRangeInfo.Row(row + 4));
}
}
}
Let us know if you need any further assistance.
Thanks,
Rajagopal