久久国产成人av_抖音国产毛片_a片网站免费观看_A片无码播放手机在线观看,色五月在线观看,亚洲精品m在线观看,女人自慰的免费网址,悠悠在线观看精品视频,一级日本片免费的,亚洲精品久,国产精品成人久久久久久久

分享

Extjs3 布局

 匆匆那哖 2016-04-28
/*//創(chuàng)建Tree面板組件
    var _tree = new Ext.tree.TreePanel({
    //title : '簡(jiǎn)單的樹(shù)面板示例',
    region:'west',
    autowidth : true,
    autoheight : true,
    //applyTo : 'hello',
    border:false,
    root : root
    });*/
//創(chuàng)建根節(jié)點(diǎn)
    var root = new Ext.tree.TreeNode({
                text : '根節(jié)點(diǎn)',
                expanded:true//此處展開(kāi)所有。
    });
    //為根節(jié)點(diǎn)添加子節(jié)點(diǎn)
    var a1 = root.appendChild(new Ext.tree.TreeNode({
                text : '一級(jí)子節(jié)點(diǎn)A1'
    }))
            
    var b1 = root.appendChild(new Ext.tree.TreeNode({
                text : '一級(jí)子節(jié)點(diǎn)B1'
    }))
             
    var c1 = root.appendChild(new Ext.tree.TreeNode({
                text : '一級(jí)子節(jié)點(diǎn)C1'
    }))
    var d1 = root.appendChild(new Ext.tree.TreeNode({
                text : '百度',
                href:'http://www.baidu.com',
                hrefTarget:'_blank'
    }))
    //--------二級(jí)節(jié)點(diǎn)----------------------------
    var a21 = a1.appendChild(new Ext.tree.TreeNode({
                 text:'二級(jí)節(jié)點(diǎn)A21'
            }))
    var a22 = a1.appendChild(new Ext.tree.TreeNode({
                 text:'二級(jí)節(jié)點(diǎn)A22'
            }))
    var a23 = a1.appendChild(new Ext.tree.TreeNode({
                 text:'二級(jí)節(jié)點(diǎn)A23'
            }))
    var b21 = b1.appendChild(new Ext.tree.TreeNode({
                 text:'二級(jí)節(jié)點(diǎn)B21'
            }))
    var b22 = b1.appendChild(new Ext.tree.TreeNode({
                 text:'二級(jí)節(jié)點(diǎn)B22'
            }))
    var c21 = c1.appendChild(new Ext.tree.TreeNode({
                 text:'二級(jí)節(jié)點(diǎn)C21'
            }))       
    //--------三級(jí)節(jié)點(diǎn)-------------------------------
    var a31 = a21.appendChild(new Ext.tree.TreeNode({
                 text:'三級(jí)節(jié)點(diǎn)A31'
             }))    
    var a32 = a21.appendChild(new Ext.tree.TreeNode({
                 text:'三級(jí)節(jié)點(diǎn)A31'
             }))        
    var b31 = b21.appendChild(new Ext.tree.TreeNode({
                 text:'三級(jí)節(jié)點(diǎn)B31'
             }))      
    //---------四級(jí)節(jié)點(diǎn)--------------------------------
    var a41 = a31.appendChild(new Ext.tree.TreeNode({
                 text:'四 級(jí)節(jié)點(diǎn)A41'
             }))          
    

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,,所有內(nèi)容均由用戶(hù)發(fā)布,,不代表本站觀點(diǎn),。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式,、誘導(dǎo)購(gòu)買(mǎi)等信息,,謹(jǐn)防詐騙,。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,,請(qǐng)點(diǎn)擊一鍵舉報(bào),。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶(hù) 評(píng)論公約