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 pm, Axel Kittenberger <axk...@gmail.com> wrote: > 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 Java philosophy or not, if I really want to shoot myself in > the foot by directly setting CSS values, please let me. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.