在我的页面中,我正在使用exjs 4.1.3创建tabPanel.问题是我无法使用鼠标选择标题标题的文本.
这是我的代码:
TabPanel = Ext.create('Ext.tab.Panel', {
renderTo: 'tabs',
resizeTabs: true,
enableTabScroll: true,
width: 'auto',
border:false,
plain: true,
tabBar: {
layout: {
scrollIncrement: 100
},
height: 24,
defaults: {
height: 24
}
},
items: [{
title: listTabLabel,
id: 'firstTab',
border:false,
items:mainPanel,
closable: false,
tabConfig:{
style: {
borderRadius: 0,
},
margin: '0 0 0 0'
}
}]
})
Run Code Online (Sandbox Code Playgroud)
当我打开一个新标签时,我在下面的代码中调用以添加新标签
TabPanel.add({
id: record,
closable: true,
html: tabContent,
title: name,
tooltip: tabName,
dirty: false,
recordValue: ''+record,
height:50,
tabConfig: {
style: {
borderRadius: 0 …Run Code Online (Sandbox Code Playgroud) extjs ×1