Hello,
how to replace measure cell content with an icon for example using font awesome classes ('fa fa-check' or 'fa fa-calendar') depending on condition (when value === 1 then display check icon when value ===2 display calendar icon.)
Thank you.
Hello, Ahmed,
Thank you for your question.
Measure cell content can be replaced with an icon via the customizeCell() API call.
Here is a JSFiddle example showing how this can be achieved.
Please let us know if you have further questions.
Best Regards,
Vera
Hello Vera,
Thank you for your answer.
Kindly, advise, can I display icon using css conditional format instead of replacing cell text (without using cell.text)
Thank you.
Hello, Ahmed,
Thank you for your quick reply.
We would like to specify that in order to replace the numbers with custom icons it is necessary to use the customizeCell
approach (replacing cell text).
Speaking of conditional formatting options, with the help of conditional formatting pop-up in Flexmonster you can set color, background color and font size.
Hope it helps.
Regards,
Tanya