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

Text Wrapping in Cell With Long String Without Whitespace


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?

1 Reply

TS Thavasianand Sankaranarayanan Syncfusion Team 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. 

Live Chat Icon For mobile
Up arrow icon