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

Text Wrapping in Cell With Long String Without Whitespace

Thread ID:





147929 Sep 27,2019 08:27 PM UTC Sep 30,2019 08:43 AM UTC ASP.NET MVC - EJ 2 1
Tags: Grid
Grant Sturgill
Asked On September 27, 2019 08:27 PM UTC


I am using the .AllowTextWrap() property in my table so that all of the content in the cell is shown. This works great when the content of the cell is broken up by whitespace (e.g. "This is example content") however when the text does not have whitespace (e.g. "this_is_a_very_very_very_long_file_name.txt") the cell doesn't wrap the text and part of the file name is cut off. Is there a way to set the cell's text wrapping so that it will split long string into multiple lines if need be?

Thavasianand Sankaranarayanan [Syncfusion]
Replied On September 30, 2019 08:43 AM UTC

Hi Grant, 

Greetings from the syncfusion support, 

We couldn’t see the problem faced by you ”Wrap is not working on underscore text” while enabled the AllowTextWrap api. We have created a sample with your requirement. Please refer the below sample for more information. 

Still you are facing same problem in your end. Please share the below details to us it will be help validate further. 

  1. Share full grid rendering code example
  2. Share the Video demonstrate of the issue.
  3. Share Syncfusion DLL version.

Thavasianand S. 


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