Description
Hello - thanks for UI grid, a great addition to angular!
Feature request -
a) Control over the appearance and behaviour of the pagination template through an instantiation option in grid options
e.g a few issues / requests here
-
I would like to be able to move the pagination panel to at the top of the grid
-
Once the data has been paged at least once, i.e user moves to second page, the pagination template overlaps the bottom of the grid, and the width of the select box for pageSizes is not wide enough to incorporate larger amounts - see http://gyazo.com/8431730d9b2ac2dcb7580ca0b542aad8 I've managed to "fix" issue 2) by overriding some of the css but it's not ideal
.ui-grid-pager-panel { position:relative; display: inline-block; } .ui-grid-pager-max-pages-number { vertical-align: top; } .ui-grid-pager-row-count-picker select { width: auto !important; } -
Increased control over options in paginationPageSizes: Desired behaviour is control over styling and also allowing an "all" option in paginationPageSizes: e.g instead of [100, 500, 1000, 5000], to be able to use something like
paginationPageSizes: [ {amount: 100, label: "100"}, {amount: 500, label: "500"}, {amount: $scope.gridOptions.totalItems, label: "All"}]