NR
Nirmal 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)
Let me know if you have any queries.
Regards,
Nirmal