I would like to be able to set cell CSS formatting with a range, not just an EQUAL or LESS THAN variable.
For example,
(< 30) = GREEN
(>30 < 60) = YELLOW
(>60 < 90) = RED
Can this be done inside the grid? Or do I need to code hidden columns to do this?
Thanks
Mike
2 Answers
For any custom logic for conditional formatting, you can refer this code. In the callback you can apply if-elseif-else conditions and set formatting based on the column data.
https://www.gridphp.com/demo/demos/appearance/conditional-format-ext.phps
Line 32 and 97.
Your Answer