truncate field element? Or text element with characters only?

uktran

Member
I need to truncate a field to only 20 characters. I can't do this with the field element. And the text area element either truncates words, or when set to HTML, seems to act funny if there is no spaces in the field.

I need to a pure string of 20 characters.

I thought about using a calc element to use a query, but is there another more form friendly way?
 
You can add custom CSS like

td.test3___feld, th.test3___feld {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 20px;
}
 
Perfect thanks, I spent some time trying to figure custom templates, but I just plonked it in the cell css option and it worked.
 
Back
Top