Even better would be to use a dependent style:
.cellTable.cellTable-keyboardSelectedCell {
border:
}
and then in your Java code:
widget.addStyleDependentName("keyboardSelectedCell");
or, to remove it:
widget.removeStyleDependentName("keyboardSelectedCell");
On Thursday, February 7, 2013 9:50:55 AM UTC-5, membersound wrote:
Hi,--
how can I change a specific css style property during runtime?
I have a CellTable.Resource to define cellTable style MyCellTable.css.
Now I want to change a specific css property during runtime.
.cellTableKeyboardSelectedCell {
border:
}
How can I access my css file during runtime and change that specific property?
Probably it has to do with cellTable.setStylePrimaryName() , but I could not figure out how I could achieve this.
Thanks
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment