$('#productDg_batch').iDatagrid('loadData',data);显示不出来,这里面的data是个json =>
(var str = '{"total":2,"rows":[{id:"1",name:"一"},{id:"2",name:"二"}]}';
var data = $.parseJSON(str);)
$('#productDg_batch').iDatagrid('loadData',data);显示不出来,这里面的data是个json =>
(var str = '{"total":2,"rows":[{id:"1",name:"一"},{id:"2",name:"二"}]}';
var data = $.parseJSON(str);)