I would like to cut off a text if it is too long for the cell and add three dots \"...\" at the end (no wrapping). The problem is, that I cant just cut the content in java
Try CSS: Set a max-width and specify text-overflow with:
max-width
text-overflow
text-overflow: ellipsis;