【发布时间】:2014-02-20 15:26:42
【问题描述】:
我有一个在 Jquery 中使用以下代码创建的剑道网格。
//Creating Kendo Grid For Tasks
divSearchGrid.kendoGrid({
dataSource: {
transport: {
read: function (options) {
$.ajax({
type: "POST",
url: urlSearch,
data: paramsSearch,
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (result) {
if (data != null) {
if (data.length > 0) {
orignalComplexData = data;
options.success(orignalComplexData )
}
else {
divSearchGrid.html('<h4>No records To Display</h4>')
// To stop the Auto Refresh of the grid if there are no results
isEditing = true;
}
}
else {
divSearchGrid.html('<h4>Some Error Occured</h4>')
}
}
})
}
},
pageSize: 10
},
batch: true,
edit: function (e) {
// To stop the Auto Refresh of the grid on edit
isEditing = true;
},
groupable: true,
scrollable: true,
sortable: true,
reorderable: true,
resizable: true,
selectable: "row",
autoSync: true,
editable: true,
navigatable: true,
columns: columnList,
columnMenu: true,
filterable: true,
columnMenu: {
sortable: false
},
pageable: {
refresh: true,
pageSizes: true,
buttonCount: 5
},
});
}
一切正常,但在网格的寻呼机中,页码的图像被扭曲了。请参阅下面的图片以获得更好的想法。
谁能给我一些建议来解决这个问题。
【问题讨论】:
标签: jquery kendo-ui kendo-grid