How to apply styles to a certain rows in a grid

Hi,

I want to make distinguishable some rows from my grid by applying a css or some style. i.e indented, font size, italic. Is there any way to do this?

Thanks,

Pipe

Grab the latest codebase from
support.dhtmlx.com/x-files/dhtml … latest.zip

now you can use templateCss to define custom css styles, based on some data properties

[code]
.cl2{
color:red
}

dhx.ui({
view:“grid”,
type:{
templateCss:function(obj){
if(obj.id==“2”)
return “cl2”
return “”
}
},

})[/code]