NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: GordonF on November 05, 2021, 03:22:25 AM
-
Is there a way to have an html textarea in a browse?
I realise that strings can become multi-line if long enough but only by word wrapping, line breaks are not respected. I really need a method to correctly display text containing line breaks in a browse row, ideally limited to a number of lines with a scroll bar, no EIP ability is required for my needs so readonly is fine.
Gordon
-
Check "Allow xHTML in column" for the column you want. General tab Column subtab.
As for limiting the number of lines, you will have to do that with css. max-height should do the trick.
-
if your strings contain line-breaks (ie <13,10>) and you want to display them preserved in HTML you can pass them through the StringTheory LinEndings method to convert them to html before displaying.
Cheers
Bruce
-
Many thanks for both of your help, I've used both suggestions and it works just fine, I can work on the line limit separately.
Gordon