ext bbar 上添加一个 combox 后 当点击 combox 怎么报错?
var combox = new Ext.form.ComboBox({
id:'combo',
tpl: '
store: store,
displayField:'state',
typeAhead: true,
mode: 'local',
triggerAction: 'all',
emptyText:'select a state...',
selectOnFocus:true
})
var tabpanel2 = new Ext.TabPanel(
{
region:'center',
deferredRender:false,
activeTab:0,
bbar:[
{
id:'rotation',
text: '旋转'
},{
id:'delete',
text: '删除'
},
combox , //批注下拉选项
{
id:'addMark',
text: '添加批注'
}
]
});