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 column to fit

Thread ID:





28073 Apr 22,2005 06:34 PM UTC Apr 25,2005 01:25 PM UTC WinForms 2
Tags: GridControl
Stephane SansCartier
Asked On April 22, 2005 06:34 PM UTC

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 11:11 PM UTC

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

It''s working, thanks


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