1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    44
    Vote Rating
    0
    Answers
    4
    nothing is an unknown quantity at this point

      0  

    Default 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

  2. #2
    Sencha User carol.ext's Avatar
    Join Date
    Jun 2007
    Location
    Littleton, Colorado, USA
    Posts
    698
    Vote Rating
    28
    Answers
    24
    carol.ext has a spectacular aura about carol.ext has a spectacular aura about

      0  

    Default


    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

Thread Participants: 1