2
我剛剛在我的應用程序中使用kendo網格,並且我需要在網格中顯示2500條公司的記錄。但是當我嘗試綁定像200更少的數據其工作良好,但是當我嘗試綁定2500個記錄它不顯示任何數據(「沒有條款顯示」)巨大的數據不綁定到Kendo Grid
格來顯示:
<div id="divSearchResult" >
</div>
劍道綁定:
<script>
function BindGridSearchResult(data)
{
$("#divSearchResult").kendoGrid({
dataSource: data,
navigatable: true,
pageable: true,
//toolbar: ["create", "save", "cancel"],
columns: [
{ field: "UnitID", title: "UnitID", width: 110, hidden: true },
{ field: "Nickname", title: "Nickname", width: 110 },
{ field: "ContractNumber", title: "ContractNumber", width: 110 },
{ field: "SerialNumber", title: "SerialNumber", width: 110 },
{ field: "UnitPriority", title: "UnitPriority", width: 110 },
{ field: "Address1", title: "Address1", width: 110 },
{ field: "City", title: "City", width: 110 },
{ field: "Region", title: "Region", width: 110 }]
});
}
</script>
Ajax調用來獲取數據:
$.ajax({
url: "/Admin/GetSearchUnit",
data: Data,
success: function (result)
{
debugger;
BindGridSearchResult(result);
//alert("Success");
},
erro: function (error, err) {
alert("Failed");
},
})
個
數據較少:
海量數據:
請幫我出這個問題..
三江源提前..
謝謝沙希德 – 2014-12-17 14:15:00
歡迎您:) – Shadi 2014-12-18 05:24:28