sidebar.js 508 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Ext.namespace('jun');
jun.TreeUi = Ext.extend(Ext.tree.TreePanel, {
    title: 'Sidebar',
    useArrows:true,
    region: 'west',
    split: true,
    //collapsible: false,
    rootVisible: false,
    floatable: false,
    //dataUrl:'http://localhost/june/index.php/site/tree/',
    width: 240,
    initComponent: function() {
        
        this.root = {
            text: 'Menu'
        };
        /*
        this.loader = {

        };*/
        jun.TreeUi.superclass.initComponent.call(this);
    }
});