使用寻呼机时,Kendo Grid会跳过页面

时间:2017-04-27 17:32:59

标签: jquery kendo-ui kendo-grid

目前我在底部有一个kendo网格寻呼机,工作正常。我复制了寻呼机,以便它在顶部,现在如果我使用顶部寻呼机的功能,它是在我下一次和后退时跳过一个页面,我似乎无法弄清楚它是如何做到的。还有其他人经历过这个吗?

// This is where we added the same toolbar thats on the bottom of the grid to the top
var grid = $("#grid").data("kendoGrid");
var wrapper = $('<div class="k-pager-wrap pagerTop"/>').insertBefore(grid.element.children(".k-grid-header"));
wrapper.kendoPager($.extend({}, grid.options.pageable, { dataSource: grid.dataSource }));
grid.element.height("").find(".pagerTop").css("border-width", "0 0 1px 0");

0 个答案:

没有答案
相关问题