ExtJs를 처음 사용합니다. 패널 html 콘텐츠를 가져 오기위한 패널에서 문제가 발생했습니다.ExtJs의 패널에서 html 콘텐츠를 얻는 방법
xtype : 'panel',
id : 'first_block',
html : '<p>Hi this is belongs to first block.</p>',
listeners : {
render : function(c) {
c.body.on('click', function() {
alert('' + this.id);
alert(Ext.getCmp('first_block').items.getAt(0).getValue());
});
}
나는 HTML 콘텐츠를 못하고 있어요,하지만 난 "first_block 몸"과 같은 ID를 얻고있다.
미리 감사드립니다.