var jsonstr = '{"total":1,"rows":[{"id":"M000005","name":"检测设备","sortid":3,"valid":"1","handler":"系统管理员"}]}';var data = $.parseJSON(jsonstr); $('#goods_Type_Grid').datagrid('loadData', data); //将数据绑定到datagrid
本文共 257 字,大约阅读时间需要 1 分钟。
var jsonstr = '{"total":1,"rows":[{"id":"M000005","name":"检测设备","sortid":3,"valid":"1","handler":"系统管理员"}]}';var data = $.parseJSON(jsonstr); $('#goods_Type_Grid').datagrid('loadData', data); //将数据绑定到datagrid
转载于:https://www.cnblogs.com/4job/p/9928594.html