View Full Version : include html file inside to extjs panel

16 Sep 2013, 2:11 AM
hi gays,
i am a beginner for extjs and i need to include some html files into my extjs panel is there is a way to do it Thank you

Gary Schlosberg
16 Sep 2013, 7:46 AM
Here's a simple panel with HTML in it:

Ext.create('Ext.panel.Panel', {
title: 'Panel with HTML',
width: 200,
html: '<p>I am <b>HTML</b></p>',
renderTo: Ext.getBody()

17 Sep 2013, 8:29 AM
I advise to consider ComponentLoader (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.ComponentLoader).