jsGrid loadData does not work
问题 I use Ajax to load data into the jsGrid. I have the following code: $("#jsGrid").jsGrid({ width: "100%", height: "100%", autoload: true, paging: true, pageSize: 15, pageButtonCount: 5, pageIndex: 1, controller: { loadData: function(filter) { var d = $.Deferred(); $.ajax({ url: "/api/index.php/get_data", contentType: "application/json; charset=utf-8", data: {a:(filter.page?filter.page:0)}, dataType: "json" }).done(function(response){ console.info(response); d.resolve(response); }); return d