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
195
How to apply different settings to text in single cell in Ultrawingrid?
posted

Hi,

I am having a different kind of requirement.

I have two lines of text in a single cell in Ultrawingrid.

I have to apply font size of 14 and color black to first line text.

And font size of 12 and color blue to second line text.

Could you please let me know how to do it?

Thanks,

Venkat.

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Venkat,

    You could set the Style of the column to FormattedText. And then use XML as the Value of the cell to control the formatting. The custom XML format used by a FormattedText cell in the grid is the same one used by the UltraFormattedLinkLabel or UltraFormattedTextEditor controls.

Children