How to render an ngTable without the pagination decorations? How to render an ngTable without the pagination decorations? angularjs angularjs

How to render an ngTable without the pagination decorations?


This was recently fixed (https://github.com/esvit/ng-table/issues/6) This code should do it for you (copied from same git issue):

$scope.tableParams = new ngTableParams({    count: items.length // hides pager},{    counts: [] // hides page sizes});


Use this approach (based on this link) :

$scope.tableParams = new ngTableParams({        page: 1,   // show first page        count: 5  // count per page    }, {        counts: [], // hide page counts control        total: 1,  // value less than count hide pagination        getData: function($defer, params) {            $defer.resolve(data);        }    });


You could hide it with css:

.ng-table-pager {    display: none;}