jqGrid 是一个基于 jQuery 的表格插件,jsonReader
和 loadComplete
都是 jqGrid 的参数,用于解析和处理返回的 JSON 数据。
jsonReader
用于指定 jqGrid 如何解析返回的 JSON 数据。其语法如下:
jsonReader: {
root: "rows",
page: "page",
total: "total",
records: "records",
repeatitems: false,
id: "id"
}