PDA

View Full Version : Modify Style Component



Henrique Miranda
23 Jul 2009, 4:22 AM
I'm using Info.display (http://www.extjs.com/forum/../deploy/gxtdocs/com/extjs/gxt/ui/client/widget/Info.html#display%28java.lang.String,%20java.lang.String%29)("Sucess", "Very Good")for show my error messages and success.
So that when message is a sucess, i want to modify component Info (http://www.extjs.com/forum/../deploy/gxtdocs/com/extjs/gxt/ui/client/widget/Info.html#display%28java.lang.String,%20java.lang.String%29)to be green and when message is a error the component must be red. How can i do it?