Forum /
Ext JS Community Forums 4.x /
Ext: Q&A /
Unanswered: How to render App to Div (resizable)
Unanswered: How to render App to Div (resizable)
Hello,
what is the correct way to render an App to a specific Div?
I know "renderTo" and have built an App with viewport, and want this App to be rendered to a Div.
Thanks
Sencha User
Sounds like you don't need to be using a Viewport if you don't want it to render to document body since that is what a Viewport does.
From the Viewport documentation :
renderTo : String/HTMLElement/Ext.Element
Not applicable. Always renders to document body.
Overrides: Ext.AbstractComponent.renderTo
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us