Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
390
Copy data to Excel triggers Wrap Text in Excel
posted

When a user selects cells, copies them and then pastes them into Excel the Wrap Text feature is getting triggered causing the text in the cells to wrap.  I have a picture attached showing the issue.  The data can be wrapped in my grid, but I want it not wrapped in Excel in other words.

What properties do I need to set in the gird in order to not trigger this text wrapping when pasting into Excel?

Thanks!

 

This is the method I'm calling.

ug.PerformAction(UltraGridAction.Copy)

  • 469350
    Suggested Answer
    Offline posted

    Hi,

    This really isn't anything the grid has control over. Pasting into Excel does not affect the width of the columns in Excel. You will need to manually make the columns wider to prevent this wrapping.