PDA

View Full Version : How to set body css class of panel?



dbassett74
21 Aug 2009, 8:45 AM
I know you can use setStyle() to set the style directly, but I prefer to set the bodyCssClass instead. But there does not seem to be a setBodyCssClass function. How can this be accomplished at run time? Thanks.

8 Sep 2009, 3:36 AM
you can use Panel.body.addClass or Panel.body.removeClass