JSON Tabulator change font color

Ok. I found out the way!

"formatter" : "function(cell, formatterParams){var value = cell.getValue();if(value >= 23){cell.getElement().style.color ='red';cell.getElement().style.backgroundColor ='yellow'} return value;}"

1 Like