5

I'm using grails rendering to render table into the pdf. when column data is more that data is not getting break(i.e it should get fixed into that column only) I have used "word-break: break-all" property but it is not working at all.
E.g

    <div style="text-align:center;word-break: break-all">
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
</div>
Dipak Thoke
  • 1,963
  • 11
  • 18

1 Answers1

0

without space the whole thing is a word and we have to break the word to make it wrapped. use word-wrap: break-word;. Hope it will solve your problem.

Satrughna
  • 93
  • 2
  • 14