我的JavaScript代碼是有點像這個如何普通的JavaScript應用到EXT窗口
var myDiv = "<div style="color:#0000FF">
<h3>This is a heading in a div element</h3>
<p>This is some text in a div element.</p>
</div>";
我想的Ext窗口申請myDiv。
有點我想這樣
Ext.create('Ext.window.Window', {
title: 'MyWin',
id:'MyWin',
height: 600,
width: 1000,
layout: 'fit',
render : function(a,b){
debugger;
myDiv
}
}).show();
I don't want to put into item. Is there anyway I can achive this.