hello again,
i have a problem with load input checkbox type, here is my code :
function show_form(target, dg, frm_dlg, frm, rep_obj){
if ( state.op == 'edit'){
$.messager.alert('Warning', 'There are current record being edited. Finish editing process before open a new form.');
return false;
}
state.op = "show_form";
var index = getRowIndex(target);
dg.datagrid('selectRow', index);
var row = getRow(dg);
if (row){
for(var i in row){
obj[rep_obj+"["+i+"]"] = row[i];
}
frm_dlg.dialog('open').dialog('setTitle', "Show Form");
frm.form('load', obj);
console.log(obj);
console.log(frm);
}
}
this code work well in firefox, but in chrome this code didn't work at all, actually what's the matter with this? do am i wrong?
thanks in advance