Results 1 to 4 of 4

Thread: Is there a way to display html to an extjs component??

  1. #1

    Default Is there a way to display html to an extjs component??

    Is there a way to display html, as is with no additional rendering, to an extjs component?? I see that there is a ContentPanel.setUrl() in GWT, but I don't see anything similar in extjs. Has anyone done anything like this before?

    Thanks in advance for your help.
    Page

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,254

    Default

    Assuming you're using a panel, use either the autoLoad or html config.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    you can also load an instance of Ext.Element by leveraging it's load() method

  4. #4

    Default Thanks Evan!

    I don't have all the kinks worked out just yet, but I used the autload url on the panel and I'm seeing my data.

    Thanks for your quick response!
    Page

Posting Permissions

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