Categories | Question details Back To List | ||
Change font size Hello, What is the best technique to change the font size in a GridBox/Tree when the level (of the row) becomes greater than 1 ? Do we have to modify the .css file ? or can we override the setting through additional parameters of <cell> xml values ? I've tried to use <cell><![CDATA[<font color="red" size="8px">cell</font> content]]></cell> but without any luck. Is there a sample of a tree-grid with different styles on each level ? Kind regards, Yves Answer posted by Alex (support) on Mar 05, 2009 06:53 There is "style" (the css string) and "class" (the name of css class) attributes. They can be applied for the <row> or <cell>: <cell style="color:red;...">cell content</cell> If you want to set style only for part of cell content, something as follows can be used: <cell><![CDATA[<span style="color:red;font-size:8px">cell</span> content]]></cell> |