13693261870
2022-09-16 354b3dbfbffb3df45212a2a44dbbf48b4acc2594
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Ext.define('Neptune.view.combination.BorderLayoutWindow', {
    extend: 'Ext.container.Container',
    xtype: 'borderLayoutWindow',
    id: 'borderLayoutWindow',
 
    items: [{
        xtype: 'window',
        x: 15,
        y: 15,
        title: 'Border Layout Window',
        closable: true,
        closeAction: 'hide',
        width: 600,
        minWidth: 350,
        height: 350,
        layout: {
            type: 'border',
            padding: 5
        },
        items: [{
            region: 'west',
            xtype: 'accordionPanel',
            width: 200,
            split: true,
            collapsible: true,
            floatable: false
        }, {
            region: 'center',
            xtype: 'tabpanel',
            items: [{
                title: 'Bogus Tab',
                layout: 'fit',
                items: [
                    {
                        xtype: 'basicGrid',
                        border: 0,
                        title: null,
                        columns: [
                            { text: 'Company', flex: 1, dataIndex: 'company', editor: 'textfield' },
                            { text: 'Price', width: 75, sortable: true, renderer: 'usMoney', dataIndex: 'price', editor: 'numberfield' },
                            { text: 'Last Updated', width: 85, sortable: true, renderer: Ext.util.Format.dateRenderer('m/d/Y'), dataIndex: 'lastChange', editor: 'datefield' }
                        ]
                    }
                ]
            }, {
                title: 'Another Tab',
                html: NeptuneAppData.dummyText
            }, {
                title: 'Closable Tab',
                html: NeptuneAppData.dummyText,
                closable: true
            }]
        }]
    }],
 
    afterRender: function() {
        this.floatingItems.getAt(0).show();
        this.callParent(arguments);
    }
});