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.

Resizing column to fit

Thread ID:

Created:

Updated:

Platform:

Replies:

28073 Apr 22,2005 02:34 PM Apr 25,2005 09:25 AM Windows Forms 2
loading
Tags: GridControl
Stephane SansCartier
Asked On April 22, 2005 02:34 PM

When between 2 columns you can click to resize them. When double clicking between 2 columns, I want the column to resize to fit. Is there a way to create this effect? Right now it seem it only resize to the default size.

Administrator [Syncfusion]
Replied On April 22, 2005 07:11 PM

In a GridDataBoundGrid, doubleclicking does do a resizetofit. In a GridControl, it does restore the original size. If you want to autosize, you can use the ResizingCols event. This forum thread has some code snippets in it. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=10573

Stephane SansCartier
Replied On April 25, 2005 09:25 AM

It''s working, thanks

CONFIRMATION

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.

;