color of gridrow - setRowTextStyle?

Hi!

I want set color for all rows with value example “new” in second column. What I make it?

Paul

mygrid.forEachRow(function(id){ if (mygrid.cells(id,1).getValue() == "new") mygrid.setRowTextStyle(id, 1, "background-color:red;"); });