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.
NRNirmal Raja Syncfusion Team November 6, 2008 07:58 PM UTC
Hi Stefan,
Thank you for your interest in Syncfusion products.
The zero index row of the GridDataBoundGrid is always the Row header. The row count will always be less the one of the last index as it starts from zero. In your code the GetTotal parametre start from zero, that is row header and ends before the last row and the total height will be less than one, so the last index should be given as the row count plus one.
Please refer the code below to retrieve the height of the row header: GridDataBoundGrid testGrid; testGrid.Model.RowHeights[0];
Please refer the code below to retrieve the height of whole Grid table: GridDataBoundGrid testGrid; testGrid.Model.RowHeights.GetTotal(0, gridDataBoundGrid1.Model.RowCount+1)