Hello GWT People!

I think I've at least found the reason why I am not able to style the
whole column with a given style.

Let's say I want to apply "display: none;" to each cell (EXCLUDING the
header), I was successful in doing so using the "setCellStyleNames"-
method from the Column<?,?>-object.
However: if I want to apply something to each cell INCLUDING the
header (or just the header), I should be able to do so using
"addColumnStyleName". But this does not work, because it applies the
style to the <col>-element within the CellTable's <colgroup> - which
is pretty much useless, because there's hardly any browser that'd
interpret the class properly let alone apply the class to each cell
(INCLUDING! the header).

This means that there are no means to change the style of the header -
at least I have not found any to date. Removing the column entirely is
not an option, as it'd lose all the data it contains.

I hope someone on here can prove me wrong, but that's what I found out
in a simple project that I've created (3 classes - I can upload it
somewhere if someone wants to have a look; I've stripped it of
anything unnecessary). I've heard there will be changes to the
celltable in 2.5 - is that so? Is there a way to test it? or at least
work around my issue? I want to be able to hide the column-header or
the entire column if I can't hide just the header (note: I want to
hide each column's header separately as I'm intending to allow the
user to hide selected columns if he decides he doesn't need certain
information).

Greetings,
Igor.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to