标签:style blog color sp div log bs ef as
1 items: { 2 xtype: ‘combobox‘, 3 displayField: ‘name‘, 4 labelAlign: ‘right‘, 5 valueField: ‘num‘, 6 matchFieldWidth:false,//默认是true,改成false下拉内容就自动变宽显示在一行了 7 value: ‘all‘, 8 queryMode: ‘local‘, 9 store: 10 new Ext.data.Store({ 11 fields: [‘name‘, ‘num‘], 12 data: [{ ‘name‘: ‘11111111111111111111‘, ‘num‘: ‘all‘ }, 13 { ‘name‘: ‘2222222222222222222222‘, ‘num‘: ‘10‘ }, 14 { ‘name‘: ‘3333‘, ‘num‘: ‘0‘ }, 15 { ‘name‘: ‘444‘, ‘num‘: ‘-10‘ }] 16 }), 17 }
标签:style blog color sp div log bs ef as
原文地址:http://www.cnblogs.com/lanzhu/p/4118523.html