官网设置 $scope.totalServerItems = 0;
注释该行能显示当前页。
================================
官网设置
$scope.$watch(‘pagingOptions‘, function (newVal, oldVal) {
if (newVal !== oldVal && newVal.currentPage !== oldVal.currentPage) {
$scope.getPagedDataAsync($scope.pagingOptions.pageSize, $scope.pagingOptions.currentPage, $scope.filterOptions.filterText);
}
}, true);
if条件改为newVal !== oldVal
【备忘录】ng-grid paging 当前页不显示,选择页数无反应,布布扣,bubuko.com
【备忘录】ng-grid paging 当前页不显示,选择页数无反应
原文地址:http://www.cnblogs.com/xiaoroad/p/3796153.html