-
5 Aug 2011 7:36 AM #1
Dynamic adding plain text
Dynamic adding plain text
I want to dynamically add some text to a panel (auto layout). It should be simple but took me a while to figure out.
Wanted to check if there is already a plain text component for this purpose.Code:contentPanel.add(new Ext.Container({ html : Ext.htmlEncode(myText) }));


Reply With Quote