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

GridControl column auto-resize question

Thread ID:





54312 Jan 5,2007 11:52 AM UTC Jan 5,2007 01:37 PM UTC WinForms 1
Tags: GridControl
Asked On January 5, 2007 11:52 AM UTC

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 01:37 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the 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