change the row background color depends upon the condition?

can i change the row background color depends upon the condition?

For example, showing the column insert date…

[b][code]if(insert_date < current_date){

/// if this condition is true want to change the row background color is red or something…

}[/code][/b]

How to do this?

Help me…thanks in advance…

myTreeGrid.setRowColor(rowId,"red");