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.
Hi, I have simple one parent-child relationship in dataset which i have binded to Grid Grouping Control.Now the probelm is that one blank row is getting displayed at the very first in both parent and child in Datagrid.Also i have one boolean column in child table which is getting displayed as checkbox in datagrid but the probelm is that whenever i click on checkbox one row gets added at the bottom of the datagrid.Please help me out.It is really urgent for me.
ADAdministrator Syncfusion Team March 5, 2007 02:52 PM UTC
Hi Manish,
This is a default behavior. If you want to remove the AddNewRow(Blank Row) in the top section of the group, you can set the ShowAddNewRecordBeforeDetails and ShowAddNewRecordAfterDetails property to false. Here is a code snippet
//For Main Groups this.grid.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = false; this.grid.TopLevelGroupOptions.ShowAddNewRecordAfterDetails = false;
//For Main Groups this.grid.NestedTableGroupOptions.ShowAddNewRecordBeforeDetails = false; this.grid.NestedTableGroupOptions.ShowAddNewRecordAfterDetails = false;
//For Child Groups this.grid.ChildGroupOptions.ShowAddNewRecordBeforeDetails = false; this.grid.ChildGroupOptions.ShowAddNewRecordAfterDetails = false;