Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by richard on Jun 12, 2008 04:46
open dhtmlx forum
set cell font colour in xml

hi

is there a way to set the font color in a specific cell in xml

thanks
Answer posted by Support on Jun 12, 2008 06:28
cell tag supports style and class attributes ( http://www.dhtmlx.com/docs/products/docsExplorer/doc/dhtmlxxml/xmlGrid.html )
    <cell style='color:red;'> This value will be rendered as red </cell>

any other css style ( combination of styles ) can be set through style attribute.
the class attribute works in similar way, but allows to assign custom css class instead of css style string.




Answer posted on Jun 12, 2008 06:30
ok thanks