Hi,
I also don't know, why it's protected, but you can do several things:
- use addStyleName() multiple times (in your case twice). So you won't
have to create n*m style classes.
- use CellFormatter's getElement(int, int), and set the attribute on
the resulting Element.
Chris
On Feb 28, 4:08
Umm why is the CellFormater setAttr now protected? I want to set a CSS
attribute with code.
setting Style Name is not in question here, since I got two
independant values, and I consider making n*m named styles more an
ugly work around than setting a CSS attribute directly from code :-(
Imported