Required library edition: 
 Required library file: dhtmlxgrid.js
sets background color of row (via bgcolor attribute)
mygrid.setRowColor("row1","red");
Please make sure that necesary row is loaded before calling this method. Note background color specified via “bgcolor” attribute has lower priority than background color specified in CSS.
See also: setStyle, setColumnColor, setRowTextStyle