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.
Unfortunately, activation email could not send to your email. Please try again.

Row height in grid grouping control..

Thread ID:

Created:

Updated:

Platform:

Replies:

48652 Aug 31,2006 04:41 PM Sep 1,2006 12:58 AM Windows Forms 1
loading
Tags: GridControl
Naieem Khan
Asked On August 31, 2006 04:41 PM

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 12:58 AM

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.

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.

;