How to change grid row color


#1

Hi, is there any way to change the whole row’s color. My code as below does not work.

<style>
	.stocked_product {
		color: red;
	}
</style>

var product_grid = new dhx.Grid(null, {
	...
	rowCss: function (row) {
		return row.InventoryQuantity ? "stocked_product" : "";
	}
});

#2

Solved, style must be written as:
.stocked_product .dhx_grid-cell { color: red; }