Is there a way I can access the 'records' parameter of jsonReader
in loadComplete
?
jsonReader: {
re开发者_开发百科cords:"RECORDS",...
}
loadComplete:function() {
getJSONReaderParam....
}
Also, Can I add a number to rowList on loadComplete?
rowList: [10,20,30],
....
loadComplete: function() {
var getrowlist = $("#list").getGridParams("rowList");
$("#list").setGridParam({rowList:[10,20,30,40});
}
Thanks..
loadComplete takes a data parameter.
loadComplete:function(data) {
var records = data.records;
}
精彩评论