I use a CellTable widget in GWT.
I want to change the font size of every texts contained in the first column. The method addColumnStyleName
does not fit my need because it adds the class to the colgroup
tag; only partial css is handled on this tag, and I can't change the font attributes of a colgroup (it has no incidence on text).
So, I want to add a class on each td
of the first column but cannot find an easy way to do that.
Something like setRowStyles for columns would be fine but it doesn't exist...
Have you got some hint about doing such a thing ?
EDIT: I use GWT 2.3 and not 2.4 (which has the method setCellStyleNames)
It's as easy as calling
setCellStyleNames
on theColumn
instance.