0
有没有一种方法可以访问'记录'参数jsonReader
在loadComplete
?jqgrid jsonReader
jsonReader: {
records:"RECORDS",...
}
loadComplete:function() {
getJSONReaderParam....
}
另外,我可以在loadComplete上添加一个数字给rowList吗?
rowList: [10,20,30],
....
loadComplete: function() {
var getrowlist = $("#list").getGridParams("rowList");
$("#list").setGridParam({rowList:[10,20,30,40});
}
谢谢..
感谢您的回复。当使用上述解决方案时,我变得不确定。相反,我使用var records = $(“#list”)。getGridParam(“records”);它的工作原理。我有另一个问题。我可以在loadComplete上追加一个额外的数字给rowList吗? – DG3 2011-01-14 16:59:50