ext 在FormPanel中创建下拉列表的两种方式

1.在FormPanel的Items中
items:[{
	xtype : 'combo',
	fieldLabel: "对象",   
	hiddenName: "active",
	displayField: "object",   
	mode: "local",
	width : 50
}]


2.在FormPanel的Items中
items:[new Ext.form.ComboBox({   
	fieldLabel: "对象",   
	hiddenName: "active",   
	displayField: "object",   
	mode: "local",
	width:110
})]


黑色头发:http://heisetoufa.iteye.com/

你可能感兴趣的:(json,ext)