The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team January 12, 2007 05:27 AM UTC
Hi Konstantin,
You can specify the AddNewRecord setting of the GroupingGrid with ShowAddNewRecordAfterDetails / ShowAddNewRecordBeforeDetails property. Here is a code snippet to show this.
//For Main Table. this.grid.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.grid.TopLevelGroupOptions.ShowAddNewRecordAfterDetails = false;
//For Child Groups this.grid.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false; this.grid.ChildGroupOptions.ShowAddNewRecordAfterDetails = false;
If you want to control the add the new row through AddNewRecord, you need to handle the CurrentRecordContextChange event of the grid. Please find the code snippet below.