How would one use the HTMLPanel solution in a Item?
For examples, the following code:
Code:
Ext.define('Sencha.view.Search', { extend: 'Ext.Panel',
xtype: 'searchcard',
config: {
iconCls: 'search',
title: 'Search',
styleHtmlContent: true,
scrollable: 'vertical',
layout: {
type: 'vbox'
},
items: [{
docked: 'top',
xtype: 'toolbar',
title: 'Search'
},
{
xtype: 'fieldset',
width: "100%",
style: {float:'left'},
items: [
{
xtype: 'textfield',
name : 'name',
label: 'Search for'
},{
xtype: 'button',
text: 'Search',
ui: 'confirm'
},{ width: '60px' }
]},
{
> INSERT IT HERE <
}
]
}
});
I tried adding the following code where its marked, but didn't work:
Code:
extend: 'HTMLPanel', config: {
styleHtmlContent: true,
scrollable: 'vertical',
url: 'page.html',
}
any ideias? i'm still a bit new on Sencha :\