js
var order_type = Ext.create('Ext.form.field.ComboBox',{ fieldLabel: '状态', store: new Ext.data.SimpleStore({ fields: ['value','key'], data: [['1','待付款'],['2','待发货'],['3','待收货'],['4','待评价'],['','所有']] }), value: '', mode: 'local', triggerAction: "all", valueField: 'value', displayField: 'key', labelAlign: 'right' });
效果