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.
Syncfusion Feedback

auto size the Column header height

Thread ID:

Created:

Updated:

Platform:

Replies:

43405 Apr 21,2006 03:35 PM UTC Apr 24,2006 06:41 AM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On April 21, 2006 03:35 PM UTC

I''m using the GridGroupingControl version 3.3, I''m wondering how to force the autosize (height) capability for column headers. I can do it manually with a dbl click on the line just between the column header row and the first data row of my grid, but I would like to set it programatically thanks

Administrator [Syncfusion]
Replied On April 24, 2006 06:41 AM UTC

Hi Xavier, The TableModel.RowHeights.ResizeToFit method can be used to auto size the row heights. this.gridGroupingControl1.TableModel.RowHeights.ResizeToFit(GridRangeInfo.Row(2));// here 2 is the header row index. Regards, Calvin.

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

;