亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

ext checkboxgroup 回填數(shù)據(jù)解決

 更新時(shí)間:2009年08月21日 11:58:29   作者:  
解決checkboxgroup回填數(shù)據(jù)問題的實(shí)現(xiàn)代碼
重寫
復(fù)制代碼 代碼如下:

//解決checkboxgroup回填數(shù)據(jù)問題
Ext.override(Ext.form.BasicForm,{
findField : function(id){
var field = this.items.get(id);
if(!field){
this.items.each(function(f){
if(f.isXType('radiogroup')||f.isXType('checkboxgroup')){
f.items.each(function(c){
if(c.isFormField && (c.dataIndex == id || c.id == id || c.getName() == id)){
field = c;
return false;
}
});
}

if(f.isFormField && (f.dataIndex == id || f.id == id || f.getName() == id)){
field = f;
return false;
}
});
}
return field || null;
}

});

相關(guān)文章

最新評(píng)論