我正在尝试将一些格式加载到kendo网格中。如果我获得10条记录,则会快速加载。如果我有超过500,则需要花费很多时间才能加载。
任何人都可以帮忙吗?
以下是我的代码:
$("#gridExistingpartners").kendoGrid({
columns: [{
field: "PARTNER_ID",
title: "#",
filterable: false,
width: 85
},
{
field: "NAME",
title: "Partner Name",
width: 185
},
{
field: "PARTNER_TYPE",
title: "Partner Type",
width: 100
},
{
command: { name:"View",text: "View", click: ViewExistingPartners },
title: "Edit",
width: 85
},
{
command: { name:"Add",text: "Add", click: AddExistingPartners },
title: "Add",
width: 85
}],
height: 250,
autoBind: true,
scrollable: true,
sortable: true,
serverPaging: true,
serverSorting: true,
serverFiltering: true,
refresh: true,
filterable: {
extra: false,
operators: {
string: {
startswith: "Starts with",
eq: "Is equal to",
neq: "Is not equal to"
}
}
},
pageable: {
refresh: true,
pageSizes: true,
buttonCount: 5,
pageSize: 15
}
});
答案 0 :(得分:0)