Bug #1180
[Training Management] Training History - Action Edit tidak ngeload data yang lama
0%
Description
Dear Developer,
Mohon bantuannya untuk mengatasi masalah yang terjadi, yaitu :
1. Ketika ingin melakukan Edit data, data yang lama tidak ke load.
Port : http://103.168.134.28:31130/
Server : 103.168.134.119
DB : MinovaES_BankKalteng_Dev
Menu : HR Strategic > Training Management > Training History
Semoga dapat dimengerti
Terimakasih
Files
Updated by Saswanto Tampan over 2 years ago
- Status changed from Assigned to QA Test
- Assignee changed from Saswanto Tampan to Mega Yunita
perbaikan pada mdgenerator.js
/* BEGIN YN 20220610 */
handler: function () {
var p_ = Ext.ComponentQuery.query('[name=Main]')[0];
p_.mask('Loading...');
var tbl = tableName;
var grid_ = Ext.ComponentQuery.query('minovagridmd[tableName=' + tableName + ']')[0];
var selecton_ = grid_.getView().getSelectionModel().getSelection()[0];
renderToForm = Ext.ComponentQuery.query('[gridMD=' + tableName + ']')[0].renderToForm;
if (Ext.ComponentQuery.query('[name=MinovaGridFormEdit' + tableName + ']')[0]) {
Ext.ComponentQuery.query('[name=MinovaGridFormEdit' + tableName + ']')[0].setHidden(false)
} else {
mdgenerator.createFormCard(tableName, "", "", renderToForm, false, selecton_, '1', '0');
}
Ext.ComponentQuery.query('[name=MinovaGridFormEdit' + tableName + ']')[0].getForm().setValues(selecton_.data);
var p = Ext.ComponentQuery.query('[name=PanelMdDetail]')[0];
var tinggi = Ext.ComponentQuery.query('[name=MinovaGridFormEdit' + tableName + ']')[0].getHeight();
if (tinggi < 330) {
tinggi = 330;
}
p.setHeight(tinggi + 100);
Ext.ComponentQuery.query('[name=MinovaGridFormDisplay' + tableName + ']')[0].setHidden(true);
Ext.ComponentQuery.query('[name=MinovaGridFormEdit' + tableName + ']')[0].act = '1';
//Ext.ComponentQuery.query('[name=MinovaGridFormEdit' + tableName + ']')[0].setTitle('Edit - ' + grid_.tableDesc + ' - ' + getParam("EmployeeID") + ' - ' + getParam("FullName"))
Ext.ComponentQuery.query('[name=DetailMD]')[0].setTitle('Edit' + ' - ' + grid_.tableDesc + ' - ' + getParam("EmployeeID") + ' - ' + getParam("FullName"));
setValueAmountEncrypt(tbl);
p_.unmask();
setKeyDisabled(true);
}
/* END YN 20220610 */