If the column cell value is > 5000, I want to highlight that entire row. Right now I am only able to highlight that cell.
Grid column renderer:
renderer:function(val_, meta_, rec_) {
if(val_> 5000) {
meta_.style = "background-color:red;";
}
}
Set
getRowClass
(on your grid) instead of the column renderer:For example: