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

學習ExtJS 訪問容器對象

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

Ext.onReady(function(){
var _window = new Ext.Window({
title:"測試窗體",
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() ;
}) ;

相關文章

最新評論