is it possible to change the colour of text in Gwt Widgets..
For example, say I have a TreeGrid, with TreeGridFields.
Can I change the colour that is rendered when printing the items in the Tree?
Thanks.
It's not necessarily the correct way to do it but I just wrap the items with <font color='COLOR'>itemHere</font>
and that works just fine. I've found working with css in SmartGWT to be a bit of a pain.
You can also override protected String getCellCSSText(ListGridRecord record, int rowNum, int colNum)
within the TreeGrid and return a css string for the font depending on the value of the record.