-
Notifications
You must be signed in to change notification settings - Fork 20
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 working #3
Comments
same issue for me , i dont know how manage this.i guess is because the data is injected after the object was built for this reason the pagination dont know how much items have. |
same issue for me too.. anyone have a solution? |
I found a solution with this couple lines. $('#tablate').append(html).trigger('footable_redraw'); where tablate is my grid i put this after the data is loaded and semm like surhosting.com http://surhosting.com 2015-09-07 14:22 GMT-05:00 JorgeCLN [email protected]:
|
@surnetworks I add a setTimeout to make sure that redraw after ng-repeat setTimeout(function() {$('#tblOrders').trigger('footable_redraw');}, 1000) |
Same here, @xwendotnet solution worked. |
This solution worked here also, @xwendotnet |
You should write a directive which waits until data is loaded, then runs $('.footable').trigger('footable_redraw'); There is a fully explained post here : https://www.codetutorial.io/angular-jquery-after-render/ |
Hey,
I've added the footable plugin. The basics work including sortable.
However, pagination isn't working. When I load the page, pagination is not added. After I click one of the sortable-columns, the order changes, and the pagination is added including the pagination-box (with page-numbers).
How's this possible? Am I the only one here?
Greetz
The text was updated successfully, but these errors were encountered: