Easyui datagrid 绑定本地Json数据

 
var jsonstr = '{"total":1,"rows":[{"id":"M000005","name":"检测设备","sortid":3,"valid":"1","handler":"系统管理员"}]}';
var data = $.parseJSON(jsonstr);  
$('#goods_Type_Grid').datagrid('loadData', data); //将数据绑定到datagrid
 
 

posted on 2018-11-08 13:47  4job  阅读(1394)  评论(0编辑  收藏  举报

导航