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

Resizing columns to max size

Thread ID:





29781 Jun 2,2005 05:06 PM UTC Jun 2,2005 06:39 PM UTC WinForms 2
Tags: GridControl
Nick Howard
Asked On June 2, 2005 05:06 PM UTC

Hello, I''m sure this is a question that has been asked a hundred times, but I didn''t find it in my search. How can I resize my GridDataBoundGrid columns to the size of the maximum cell in the column? Thanks for any help. Thanks, Nick

Administrator [Syncfusion]
Replied On June 2, 2005 05:59 PM UTC

You call grid.Model.ColWidths.ResizeToFit(GridRangeInfo.Col(colIndex)).

Nick Howard
Replied On June 2, 2005 06:39 PM UTC

Thanks Clay, I really appreciate it.


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