extjs实现左侧tab

layout  =   new  Ext.BorderLayout(document.body,  ... {

                            center: 
...{
                                titlebar: 
false,
                                tabPosition: 
'left'
                            }


                        }
);

                        layout.beginUpdate();
                        
                        var iframe 
=  Ext.DomHelper.append( document.body, 
                            
... {tag: 'iframe', frameBorder: 0, src: 'BusiLineView.html' } );
            
                        layout.add( 
' center ' new  Ext.ContentPanel( iframe,  ... {title: '公司', fitToFrame:true, closable: false} ));
                        layout.add(
' center ' new  Ext.ContentPanel( ' panel-bk ' ... {title: '板块', closable: false} ));
                        layout.add(
' center ' new  Ext.ContentPanel( ' panel-fund ' ... {title: '基金', closable: false} ));
                        layout.getRegion(
' center ' ).showPanel( 0 );
                        layout.endUpdate();

extjs实现左侧tab_第1张图片

你可能感兴趣的:(html,ext)