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. Image for the cookie policy date
close icon

Column header height

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

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon