function EDITDataGrid(){
var row = $('#result').datagrid('getSelected');
if (row){
$('#dlgadz').dialog('open').dialog('setTitle','History Log Customer');
row.menumm="<?=$menunameid;?>";
$('#fmadz').form('load',row);
//fungsi console.log(row) untuk debug log row jeasyui
console.log(row);
//url = '<?=site_url() ?>/masterp/editocustomerr/ID/'+row.Cust_ID;
}
}
lalu lihat hasilnya dilihat di console firebug
contoh hasil:
Object { Cust_ID="M06151124000000001", KD_Cust="CUST003", Nama_Cust="CARGILL", more...}
masterc...0000001 (line 359)
Object { Cust_ID="M06151123000000002", KD_Cust="CUST002", Nama_Cust="PT PHOKPAND", more...}
Tidak ada komentar:
Posting Komentar