日期:2014-05-16  浏览次数:20353 次

Extjs4 comboboxtree下拉勾选树

Extjs4 comboboxtree下拉勾选树(更新中)??

2011-06-08 15:30:54|??分类:?extjs|字号?订阅

如图
extjs4 comboboxtree下拉勾选树 - 风 - 风之泪

?Ext.define("Ext.ux.comboboxtree", {
extend : "Ext.form.field.Picker",
requires : ["Ext.tree.Panel"],
initComponent : function() {
var self = this;
Ext.apply(self, {
fieldLabel : self.fieldLabel,
labelWidth : self.labelWidth
});
self.callParent();
},
createPicker : function() {
var self = this;
var store = Ext.create('Ext.data.TreeStore', {
proxy : {
type : 'ajax',
url : self.storeUrl