我在窗口内创建了一个标签面板。我可以autoScroll:true
与窗口一起使用,但不能与标签面板一起使用。我需要它与 tabpanel 一起工作,所以当我向下滚动时,选项卡列表不会上升和消失。
标签面板:
var sections = Ext.createWidget('tabpanel', {
id: 'mytabpanel',
title: 'UM',
activeTab: 3,
closable: true,
autoScroll: true, // not working
//defaults:{ autoScroll:true }, //not working
items: [
{
窗口(标签面板容器):
var window = new Ext.Window({
id: 'item1',
closable: true,
floating: true,
collapsible: true,
width: 900,
height: 600,
autoScroll: true, //working
items : mytabpanel
}).show();