views:

54

answers:

0
var center= { title:'panCenter', height:800, html:'center', region:'center' } var right= { title:'panCenter', height:400, width:185, html:'right', region:'east' } var main= { region:'center', layout:'border', autoScroll:true, items:[center,right] } Ext.onReady(function(){ var view = new Ext.Viewport({ layout:'border', items:[main] }) })

Dear friends:

I want to add an scroll bar for the whole page. However using this code , it can't realize. So, what is the problem ? Is there any way can realize this target?