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

Merge Columns losing AutoFit

Thread ID:





62927 Jun 25,2007 08:42 PM UTC Jun 27,2007 08:46 AM UTC ASP.NET Web Forms (Classic) 3
Tags: XlsIO
Craig Bart
Asked On June 25, 2007 08:42 PM UTC

When i use merge column i lose the autofit column setting. For example if i enter in a large amount of text and use autofit. the cell is sized appropriatly but if i then merge with another cell all the sizing is lost. Any ideas on how i can make this work. thanks for help!!

Melba Winshia [Syncfusion]
Replied On June 26, 2007 05:47 AM UTC

Hi CB,

I tried to reproduce the issue using this sample.


But I was not able to reproduce the issue. Could you please take a look at the sample above and let me know if the problem still exists? If not could you please modify this sample so that I can reproduce the issue? This would help me in analyzing this issue further.


Craig Bart
Replied On June 26, 2007 12:40 PM UTC

I figured it out. Sorry it was the Row Height not the column width. I populated the cell then used the AutofitRows() function to get the correct height. Store that height and then merge the cells. After merging the cells you lose the correct height. So i used the stored value to go back to the height i needed. Thanks.

Melba Winshia [Syncfusion]
Replied On June 27, 2007 08:46 AM UTC

Hi CB,

Thank you for the update.

Kindly let me know if you have any other questions.



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