Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
330
Multi-line with formatting?
posted

Hi Guys,

It's the end of the week, my head is numb...

I've got an unbound programmatically added column, and managed to throw the text I want into its cells.

Each cell has text which spans 2 lines... however, I need one line to be italics, and the other regular text... any idea how to do this?

Cheers!

Parents
No Data
Reply
  • 37774
    Verified Answer
    posted

    The easiest way would be to set the Style of the column to FormattedText (or FormattedTextEditor) and add the "<i>...</i>" tags around the text that needs italics.  If you don't know which text will be on the second line you may have to measure the text and apply the tags as appropriate.

    -Matt 

Children