Hi Pedro Camilo Amantea,
Thank you for your interest in Syncfusion products.
You
can achieve the behavior by using the “SetTopRow()” function.
I
have used the following code in the sample that you provided and this achieves
the desired behavior:
this.gridGroupingControl1.BeginUpdate();
dataSource.Insert(0, new Data(r.ToString(),
"Category" + r.ToString(), "Desc" + r.ToString()));
this.gridGroupingControl1.TableControl.SetTopRow(gridGroupingControl1.TableControl.TopRowIndex
+ 1);
this.gridGroupingControl1.TableControl.CurrentCell.MoveUp();
this.gridGroupingControl1.EndUpdate(true);
Please refer to the attached sample for more details.
http://www.syncfusion.com/downloads/Support/DirectTrac/103946/Adding_Rows1756248693.zip
Please let me know if you have any further concerns.
Regards,
Vinish.