Wednesday, November 2, 2011

Re: CellTable column and cell style

Thank you very much!

I still got a question though: I want to change the style of the
CellTable-header depending on whether the attribute "visible" of
ColumnEx<?,?> (derived from Column<?,?>) is set to true or false.
Everytime a column is meant to be hidden or shown, the setter
"setVisible" of the column is called. Is there a way to assign a style
depending on this attribute?

If it was a regular widget, I might have added a custom attribute and
added that to the CSS via selector. However: this does not work here
as I am not able to "getElement()" of that Column.

Thank you once again. I hope you can help me with this problem I have.
Overriding the CSSResource of the CellTable was definitely the right
thing - thank you!

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment