Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination not displaying #91

Open
AnderSco01 opened this issue Feb 19, 2017 · 1 comment
Open

Pagination not displaying #91

AnderSco01 opened this issue Feb 19, 2017 · 1 comment

Comments

@AnderSco01
Copy link

Hello,

The numbered pagination boxes with "Previous" and "Next" buttons do not appear with an overflow of table rows, yet the dropdown does. Does a certain attribute need to be inserted to make it appear? Thanks.

@eaidland
Copy link

eaidland commented Mar 1, 2017

Having the same issue 👎
AngularJS v1.6.1
ui-bootstrap-tpls-2.5.0.min.js

Update:

Found the problem:

Current:
pagerString += "<uib-pagination style='vertical-align:top; margin-top:0;' ng-if='ITEMS_PER_PAGE < TOTAL_COUNT' ng-model='CURRENT_PAGE_NUMBER' total-items='FILTERED_COUNT' items-per-page='ITEMS_PER_PAGE' max-size='5' force-ellipses='true'></uib-pagination>";

Changed:
pagerString += "<ul uib-pagination style='vertical-align:top; margin-top:0;' ng-if='ITEMS_PER_PAGE < TOTAL_COUNT' ng-model='CURRENT_PAGE_NUMBER' total-items='FILTERED_COUNT' items-per-page='ITEMS_PER_PAGE' max-size='5' force-ellipses='true'></ul>";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants