set different color and font for one cell

hi,
One cell’s value is “34KG”.
Then I need to set different color and font for “34” and “kg”,
how can I do that? thanks a lot!

Hello @zzhang,

how can I do that? thanks a lot!

There are a few ways you could do this:

1\. Wrap the cell value inside of an HTML tag and style it appropriately: https://snippet.webix.com/mfv8kk2y

2\. Redefine the default cell template for a specific column: https://snippet.webix.com/09el2tce

Please note that the first example means that you will have HTML tags as your sheet data, which is why the tags will also get exported along the way. If you do plan to export the data at any point, the better solution would be to redefine the default cell template, as it doesn’t affect the sheet data.