setRowColor

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

void setRowColor(string|number row_id,string color);

Parameters

row_idstring|numberthe id of a row
colorstringa color value

Example

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

Back to top