1
以下是我的JsGrid代码的一部分,我认为缺少一些东西,以便像Fiddle上的其他任何示例一样对我的数据进行排序。JsGrid排序不起作用
autoload:true,
inserting: false,
editing: false,
paging: true,
pageIndex: 1,
pageSize: 5,
pageLoading: true,
autoload: true,
filter:true,
sorting:true,
controller: {
loadData: function (filter) {
return $.ajax({
type: "GET",
url: BASE_URL,
data: filter,
dataType: "json",
cache: false
});
},
},
我已经尝试过排序:“数字”。