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.

auto size the Column header height

Thread ID:





43405 Apr 21,2006 11:35 AM Apr 24,2006 02:41 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On April 21, 2006 11:35 AM

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 02:41 AM

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.


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.