Hi Paul,
Issue 1:
You can call the SetCurrent method to set the focus of the record in a GridTable. Below is a code snippet.
//Set the Focus to the AddNewRecord.
int Addnewindex = this.gridGroupingControl1.Table.UnsortedRecords.Count;
Syncfusion.Grouping.Record rec = this.gridGroupingControl1.Table.UnsortedRecords[Addnewindex-1];
rec.SetCurrent("YourColumnName");
Issue 2:
Try this:
this.groupingGrid.BeginUpdate()
this.groupingGrid.Table.TableDirty = true
-- make your changes
this.groupingGrid.EndUpdate(false)
this.groupingGrid.Refresh();
// or this.grid.Reinitialize();
TableDirty = true tells the grid that the table is dirty and subsequent ListChanged events can be ignored.
Otherwise each change you make to the DataTable will result in realtime updating of counters and summaries of the table. (Each time a Log2(n) operation which is good if you do a few updates but not if you know you are looping through the whole table anyway ...).
So, with TableDirty = true, the operation count will be n. Without TableDirty = true it will be n*log2(n).
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/GGCUpdate_41f8aa57.zipRegards,
Haneef