Results 1 to 2 of 2

Thread: How to render App to Div (resizable)

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    44
    Answers
    4
    Vote Rating
    0
      0  

    Default 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
    708
    Answers
    25
    Vote Rating
    36
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •