easyui datagrid怎么导入json数据

2025-01-24 18:00:45
推荐回答(1个)
回答1:

$("#datagrid_id").datagrid({ ... loadFilter: function(data){ var grid_data = {}; grid_data.total = data.values.length; grid_data.rows = data.values; return grid_data; }});