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.

GridControl column auto-resize question

Thread ID:





54312 Jan 5,2007 06:52 AM Jan 5,2007 08:37 AM Windows Forms 1
Tags: GridControl
Asked On January 5, 2007 06:52 AM

Hi there,

I am using a GridControl with several columns. I knew that there is a method called gridcontrol.ColWidths.ResizeToFit, but it seems that this mathod can only let columns resize according to their contents.

What I want to do is to set the columns' width always resize to fit the width of the GridControl itself. So that the columns will always occupy the entire Gridcontrol, without showing horizontal scroll bar. Are there any built-in method can achieve this?

Thanks in advance


Administrator [Syncfusion]
Replied On January 5, 2007 08:37 AM

Hi Kun,

Please refer the KB links:

Automatic sizing in GridControl
To dynamically provide column width

Let us know if this is not what you needed.

Best Regards,


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.