Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by YM on Apr 22, 2008 01:29
open dhtmlx forum
How to change border color of row

Hi.

I want to change border color of row.

I tried changing the color using this code,

grid.obj.rows[id].style.borderColor = "color"

but it did not go well.

Can border color of row changed?

If there are some mistakes in English, I'd like to apologize.




Thanks and Regards
Answer posted by Support on Apr 22, 2008 01:50
The grid has border color set on cell level, so changing color on row level will not cause any effect
You can use next code  

    mygrid.setRowTextStyle(ID,"border-color:red;")

Please be sure to call command only after row in question rendered in grid.