BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Paurnima,
Thank you for your interest in Syncfusion products.
If you want to insert a new blank row after multiple records are deleted in gridgroupingcontrol, you can enabled the “AllowNew” property as true. Please refer the below code,
Code:
private void buttonAdv1_Click(object sender, EventArgs e)
{
foreach (var tbl in this.gridGroupingControl1.Table.SelectedRecords) // delete multiple record
{
tbl.Record.Delete();
}
this.gridGroupingControl1.TableDescriptor.AllowNew = true;
}
Please let us know if you have any concern.
Regards,
Muthukumar K
Hi Paurnima,
If you want to insert new blank row in the bottom section of the group, you can set the “ShowAddNewRecordAfterDetails” property to true. Please refer the below code,
Code:
Suggestion 1 :
private void buttonAdv1_Click(object sender, EventArgs e)
{
foreach (var tbl in this.gridGroupingControl1.Table.SelectedRecords)
{
tbl.Record.Delete();
}
this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordAfterDetails = true;
this.gridGroupingControl1.TableDescriptor.AllowNew = true;
this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false;
}
Please let us know if you have any concern.
Regards,
Muthukumar K