How do I set the background colour of a row? I have the following code for iterating through the rows but am unsure how to set a css class on the row.
var items = grid.dataSource.data();
for (var i = 0; i < items.length; i++) {
if (items[i].dueDate != undefined && items[i].dueDate < today) {
// make row background colour red
}
}