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

autofit column on griddataboundgrid

Thread ID:





71933 Feb 21,2008 08:46 AM UTC Feb 22,2008 11:10 PM UTC WinForms 1
Tags: GridControl
Asked On February 21, 2008 08:46 AM UTC

hi all...
how to fit column width automaticcally?
i'm using griddataboundgrid...

Administrator [Syncfusion]
Replied On February 22, 2008 11:10 PM UTC

Hi Sherly,

Thank you for using Syncfusion product.

You can try setting the

this.gridDataBoundGrid1.AllowResizeToFit = true;

It should automatically resize columns to fit cell contents on first display of the data.

If you want to manually resize a range of columns to optimally fit contents of the specified cells in a grid, you need to call the ResizeToFit method.


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

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