Document Template - DataGrid - Text Overflow Issue - Custom Style

0
Hi,    I’ve generated a PDF however the text in the cells have overflow out of its cell. I wouldn’t want it to be in ellipsis. I tried white-space: normal; or break-spaces; which doesn’t show any changes, the term ‘!important’ is illegal, word-break and word-wrap throws Invalid property encountered on "fo:block": … and also can’t use curly braces in the custom style.  Is there any solution to this text overflow?
asked
2 answers
1

Update on this post.

 

I split the string into lines by using substring for every 23 characters make a new line, using 23 characters is due to column size 25.

answered
0

Hi Padmaja,

You can use word-wrap property for this. 

 

word-wrap: break-word;

 

Thanks

answered