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

Column header height

Thread ID:

Created:

Updated:

Platform:

Replies:

58178 Mar 20,2007 01:22 PM UTC Mar 20,2007 02:44 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On March 20, 2007 01:22 PM UTC

Hi,

How to increase column header height.. which property i should use?

Also how to make Rows and column data autofit. I am facing problem in doing the rows data autofit...

Please help

Administrator [Syncfusion]
Replied On March 20, 2007 02:44 PM UTC

Hi,

How to increase column header height.. which property i should use?
>>>>>
You can try setting the TableOptions.ColumnHeaderRowHeight property to set the height of the column header row in a grid. Here is a code snippet

this.grdPrimary.TableOptions.ColumnHeaderRowHeight = 100;

how to make Rows and column data autofit. I am facing problem in doing the rows data autofit?
>>>>>
One comment is that by default, the GridGroupingControl does not support rows with individualized rowheights. To get this support, you need to add a custom GridEngine as in the ResizableRows browser sample( \Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\FeatureSamples\ResizableRows ). The ResizableRows browser sample also shows you how to implement the IGridRowHeight interface and its routines for getting and setting row heights for elements.

Once you have this, then you can call TableControl.Model.RowHeights.ResizeToFit to handle either of these cases. Here is a little sample.

Best 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

;