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

auto size the Column header height

Thread ID:





43405 Apr 21,2006 03:35 PM UTC Apr 24,2006 06:41 AM UTC WinForms 1
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.


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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