剑道垂直滚动功能坏了

时间:2016-01-14 18:32:33

标签: javascript kendo-ui kendo-grid

我在网格中有1000个项目的列表,页面大小设置为30.似乎剑道垂直滚动功能被打破。作为一个新手,我无法弄清楚。我可以访问超出限制的元素的唯一方法是立即搜索过滤器。有人可以帮助我吗

var grid = $scope.var.listViewWidget;

grid.setOptions({
    sortable: true,
    groupable: true,
    selectable: false,
    //pageable: true,
    scrollable: {
        virtual: true
    },
    columns: [{
        field: "name",
        template: kendo.template($("#tpl-SiteItem").html())
    }, {
        field: "letter",
        hidden: true,
        groupHeaderTemplate: "#= value #"
    }, {
        field: "Floor",
        hidden: true,
        groupHeaderTemplate: "#= value #"
    }]
});

});



sort: getDSSort(),
pageSize: $rootScope.sysSettings.siteSurvey_serverPaging ? 30 : 0,
serverGrouping: $rootScope.sysSettings.siteSurvey_serverPaging,
serverPaging: $rootScope.sysSettings.siteSurvey_serverPaging,
serverSorting: $rootScope.sysSettings.siteSurvey_serverPaging,
serverFiltering: $rootScope.sysSettings.siteSurvey_serverPaging
});

0 个答案:

没有答案