如何在extjs中放置垂直滚动条

use*_*919 4 extjs scrollbar

我正在使用extjs来构建门户,但是我遇到以下问题。图像大于选项卡的高度(正确尺寸)。我要在此选项卡上添加垂直滚动条。如何在extjs中做到这一点?

这是我的代码的一部分:

   items: [{
                xtype: 'tabpanel',
                activeTab: 0,
                flex: 2,
                items: [{
                        xtype: 'panel',
                        title: 'Images',
                        items: [{contentEl:'img',autoScoll: true,height:11200,overflowY : String }]
                 },{    
                        xtype: 'panel',
                        title: 'Material',
                        items: [{contentEl:'msg',autoScoll: true,height:11200,overflowY : String }]
                        }]
            }]
Run Code Online (Sandbox Code Playgroud)

谢谢。

aba*_*one 5

我可以在您的代码中看到autoScoll而不是autoScroll: true。这似乎是一个错字。看一下这个。