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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to auto-wrap long text field in column in grid

Thread ID:





130965 Jun 14,2017 01:40 AM UTC Jun 14,2017 07:29 AM UTC ASP.NET MVC 1
Tags: Grid
Dongil Shin
Asked On June 14, 2017 01:40 AM UTC

Hi, I need to auto-wrap in case of long text in a column in grid.

as attached screenshots, the bootstrap table can autowrap the long text (like multiple lines), 
however in the syncfusion grid, it cannot show either the whole long text or not multiple lines(height needs to be increased automatically) in a column.

Could you give me an idea?

Thank you.
Kind Regards,

Attachment: auto_wrapping_notok_50e8ae38.zip

Venkatesh Ayothi Raman [Syncfusion]
Replied On June 14, 2017 07:29 AM UTC

Hi Dongil, 

Thanks for contacting Syncfusion support. 

We have built-in support of text trap feature for your requirement. If we enable the AllowTextWrap feature in Grid, then content will wrap to the next line when the content exceeds the boundary of the column cells width.  

Please refer to the following Help documentation and code example for more information, 

Code example
            .TextWrapSettings(wrap => { wrap.WrapMode(WrapMode.Both); }) 
            .Columns(col => 
                   . . . 

Please let us know if you have any further assistance on this. 

Venkatesh Ayothiraman. 


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

Live Chat Icon For mobile
Live Chat Icon