Project

General

Profile

Bug #1475 » overview.js

Tri Rizqiaty, 08/15/2022 03:11 PM

 
1
Ext.define('MinovaES.view.masterdata.elearning.overview', {
2
    extend: 'Ext.form.Panel',
3
    alias: 'widget.elearning-overview',
4
    requires: [
5
     'MinovaES.controller.masterdata.elearning.ctrloverview'
6
    ],
7
    controller: 'ctrloverview',
8
    layout: 'fit',
9
    renderTo: 'panel-extjs',
10
    margin: '0 0 10 0',
11
    initComponent: function () {
12
        var me = this;
13
        Ext.applyIf(me, {
14
            items: [
15
                {
16
                    xtype: 'minovagrid1',
17
                    title:'E-learning Overview',
18
                    tableName: 'PDSTRELEARNINGOVERVIEW', //tableName: 'PDSTR0001', //edit by Tri nwh 20220811
19
                    name:'elearningOverview',
20
                    autoLoad: false,
21
                    storename: 'elearningOverview',
22
                    pagesize: 10,
23
                    height: 500,
24
                },
25
            ]
26
        });
27
        me.callParent(arguments);
28
    }
29
});
(4-4/5)