Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I put a vertical scrollbar in extjs

I am using extjs to build a portal and I have the following problem. The images are more than the height of the tab (on the right size). What I want is to add a vertical scroll bar on this tab. How can I do this in extjs?

This is the part of my code:

   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 }]
                        }]
            }]

Thanks.

like image 250
user1919 Avatar asked Dec 12 '22 00:12

user1919


1 Answers

I can see in your code autoScoll instead of autoScroll: true. It seems to be a typo. Check this out.

like image 179
abarisone Avatar answered Dec 13 '22 12:12

abarisone