PDA

View Full Version : Equivalent method for config "html"



arvindwill
29 Nov 2012, 11:10 AM
What is the equivalent method call in panel which does the same operation as config - "html" . add() addes few more extra tags as it adds components/containers.

vietits
29 Nov 2012, 4:14 PM
Try these Ext.dom.Element.setHTML() or Ext.dom.Element.update().

evant
29 Nov 2012, 4:15 PM
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.AbstractComponent-method-update

If you're talking about components.