dear
I am new to ext, I don't understand the difference between "renderTo", "applyTo" and "contentEl", the three config value, can use the node of dom, how situation for me to use it?
renderTo renders the Component into the specified existing element.
applyTo uses the specified alement as the main elementof the Component. A Component created using applyTo does not need rendering - its main element already exists.
contentEl is only for Panels. It simply moves the specified element into the body of the Panel when the Panel is rendered to use... as the content!
i added the config "renderTo: Ext.get('tree-div')" and it just does not work. tree-div is the id of a div in a form in body of the page.
I am mixed up!
help me please.