Hi Graham,
Thanks for your interest in Syncfusion products.
Your requirement can be achieved by handling the CurrentRecordContextChange event and set the record value to be edited. Please refer the below code snippet.
[ASPX]
DataSourceCachingMode="ViewState" TableLayoutMode="Fixed" Width="500" >
[Codebehind - C#]
void GridGroupingControl1_CurrentRecordContextChange(object sender, Syncfusion.Grouping.CurrentRecordContextChangeEventArgs e)
{
if (e.Record != null)
{
if (e.Record.Kind == Syncfusion.Grouping.DisplayElementKind.AddNewRecord && e.Action == Syncfusion.Grouping.CurrentRecordAction.BeginEditComplete)
{
e.Table.AddNewRecord.SetValue("Name", this.TName.Text);
}
}
}
For your convenience, we have created sample and the same can be downloaded from the following link.
GridAddNewDefault1123578910.zipPlease let me know if you have any other questions or concerns.
Regards,
Sridhar.N