Check documentation for the latest version of dhtmlxSuite setRowColor DHTMLX Docs

setRowColor

sets the background color of a row (via the bgcolor attribute)

void setRowColor(string|number row_id,string color);
row_idstring|numberthe id of a row
colorstringa color value

Example

mygrid.setRowColor("row1","red");

Back to top