HA
haneefm
Syncfusion Team
October 2, 2007 05:56 PM UTC
Hi José,
You can use the below code snippet to set the value of the AddNewRecord in a Grid.
//button''s click event
GridTable table = this.gridGroupingControl1.GetTable("TableName");
table.BeginEdit();
Record r = table.AddNewRecord;
if (r != null)
{
r.BeginEdit();
r.SetValue("ColumName", "BX");
r.EndEdit();
}
table.EndEdit();
Best regards,
Haneef