PDA

View Full Version : Adding/Removing Scrollbar at button click



harman
30 Dec 2011, 12:47 AM
Hi All,

I am using a form.Panel in two different modes.
at button click i hide some components within the Panel to show it in a different way where i do not need a scroll bar.Following is the config of the Panel.


var requestLinkedPanel = new Ext.form.Panel({
id:'requestLinkedPanel',
layout: 'hbox',
autoScroll: true,
border:false,
frame: false,
items: [.....]
});

How do i remove scrollbar at the button click?.

Thanks in advance.

mitchellsimoens
30 Dec 2011, 9:10 AM
Check out some CSS