Extjs Viewport
function createViewPort()
{
    new Ext.Viewport
    ({
        layout: 'border',    
        items: 
        [
         {        
            title: strTitle,
            iconCls:'icon-grid',
            region:'center',
            id:'tool-bar',
            collapsible: false,
            margins:'10 10 10 10',
            border:true,
            //height: 1000,
            items: [

                {
                xtype: 'tabpanel',
                id:'data-tab',
                //height: 700,
                height: sHeight,
                border:false,            
                resizeTabs:true,
                enableTabScroll:true,
                monitorResize:true,
                layoutOnTabChange:true,
                autoDestroy:true,
                activeTab: 0,
                border:false,
                minTabWidth:120                        
            }]        
        }

        ]
    });
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License