gwt - smartgwt StaticTextItem set css style -


i'm trying set specific css item on form. make bold , in different color. used following statement. why not working?

    mystatictextitem.setcellstyle("color:#ff0000; font-weight: bold;"); 

you can use settextboxstyle assign css class input box of element.

there additional methods assigning css classes special parts of element title, hover, hint , picker icon. more here.


Comments