Results 1 to 4 of 4

Thread: Rendering HTML inside of a ExtJS container

  1. #1
    Sencha User
    Join Date
    Oct 2009
    Posts
    39
    Vote Rating
    0
      0  

    Default Rendering HTML inside of a ExtJS container

    Hi,

    How can I add a Html DIV content as a child of a Panel.

    The DIV and its content were already loaded, by an AJAX Call, and I want to add it as a child of a Container.

    Thanks in advance

  2. #2
    Sencha User
    Join Date
    Oct 2009
    Posts
    39
    Vote Rating
    0
      0  

    Default

    Hi,

    Does this work Ext.getCmp('myPanel').add(getDom('divName')) ???

  3. #3
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,382
    Vote Rating
    1536
      0  

    Default

    You should use the update function on the container and pass your HTML
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #4
    Sencha User
    Join Date
    Oct 2009
    Posts
    39
    Vote Rating
    0
      0  

    Default

    Thanks,

    I will check it out.

Similar Threads

  1. How to render an full HTML page into a ExtJS Container/Panel?
    By robertoroberto in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 14 Jan 2014, 12:30 AM
  2. Adding html and javascript content to a extjs container
    By dev1751 in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 23 Sep 2009, 2:55 AM

Posting Permissions

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