We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row height in grid grouping control..

Thread ID:

Created:

Updated:

Platform:

Replies:

48652 Aug 31,2006 08:41 PM UTC Sep 1,2006 04:58 AM UTC WinForms 1
loading
Tags: GridControl
Naieem Khan
Asked On August 31, 2006 08:41 PM UTC

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



Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;