Row height in grid grouping control..

I want to change my Grid.Size dynamically to have scroll free view.

How do I calculate sum of Height of all the rows (with different heights) present in a grid grouping control?


Thanks in advance
Naieem



1 Reply

AD Administrator Syncfusion Team September 1, 2006 04:58 AM UTC

Hi Naieem,

Use GetTotal method to get the total size of the specified range of rows or columns in the grid.

//Get the rowheight of all rows in a grid.
int height = this.gridGroupingControl1.TableModel.RowHeights.GetTotal(0,this.gridGroupingControl1.TableModel.RowCount);
Console.WriteLine(" Height = " + height);

Let me know if this helps.
Regards,
Haneef

Loader.
Up arrow icon