Managing text overflow in document template

Hi all, I have a string attribute on a data grid within a document template that is pushing all other columns out of whack because the string is too long (not spaces, one continuous string). I’ve tried adding css to the cell (word-wrap and word-break) to stop the overflow from affecting the grid but it only works when the document is  exported to word format, for PDF it give an error when the document is generated. Any ideas?
1 answers
text-overflow: ellipsis;

This should end the text at the end of the cell with three dots ...