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.
Is there some properties that show you the number of actual rows of data in a grid and another for the number of headerrows in that grid.
Also what is row 0? It shows how many rows are in a grid automatically.
Is there a way to set the Group Grid Control up so that the first row is the header and the rest are the data rows from a dataview object?
Thanks.
ADAdministrator Syncfusion Team April 28, 2006 05:51 AM UTC
Hi Craig,
The number of data rows in a GridGroupingControl can be retrieved by this.gridGroupingControl1.Table.Records.Count In GridGroupingControl you won’t set the HeaderCount, but in causes like multiple rows per record the spanned row header information can be retrieved with help of this.gridGroupingControl1.TableModel.GetRowHeaderRange method. The row 0 in the GridGroupingControl will have a GridHiddenSection which is needed for the scrolling logic in the GridNestedTableControl. Since there will is a hidden section, always the column header row index will be above zero. When the caption section is hidden and when the column header is displayed at the top, the row index of the column header will be one. Let us know if you have any further queries.
Regards,
Calvin.