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. Image for the cookie policy date
close icon

Resizing column to fit

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.

2 Replies

AD Administrator Syncfusion Team 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


SS Stephane SansCartier April 25, 2005 01:25 PM UTC

It''s working, thanks

Loader.
Live Chat Icon For mobile
Up arrow icon