欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

學(xué)習(xí)ExtJS 訪問容器對(duì)象

 更新時(shí)間:2009年10月07日 23:59:07   作者:  
ExtJS 訪問容器對(duì)象使用說明,需要的朋友可以參考下。
一、屬性
ownerCt:得到當(dāng)前對(duì)象所在的容器。
items:集合列表
二、應(yīng)用舉例
復(fù)制代碼 代碼如下:

Ext.onReady(function(){
var _window = new Ext.Window({
title:"測(cè)試窗體",
layout:"form",
width:300,
plain:true,
items:{
id:"name",
xtype:"textfield",
fieldLabel:"姓名"
},
buttons:[{
text:"確定",
handler:function(){
alert(this.ownerCt.ownerCt.items.first().getValue()) ;
alert(this.ownerCt.ownerCt.items.itemAt(0).getValue()) ;
alert(Ext.getCmp("name").getValue()) ;
}
}]
}) ;
_window.show() ;
}) ;

相關(guān)文章

最新評(píng)論