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

Apply resize to fit to row header column

Thread ID:





69061 Oct 11,2007 02:18 PM UTC Oct 12,2007 09:14 AM UTC WinForms 1
Tags: GridControl
Ashes Mukherjee
Asked On October 11, 2007 02:18 PM UTC

How can I resize the row header column width.

I tried ResizeToFit(GridRangeInfo.Col(0)) that did not work.

Administrator [Syncfusion]
Replied On October 12, 2007 09:14 AM UTC

Try using the overload of ResizeToFit that allows you to specify some options, one of which indicates whether you want to resize header cells.

grid.ColWidths.ResizeToFit(GridRangeInfo.Col(0), GridResizeToFitOptions.IncludeHeaders);


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