You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out a solution to this by hooking up the onPageClicked-callback
onPageClicked: function(event,originalEvent,type,page){// Select my two navigation UL:s, and subset the currently clicked UL so I end up with the second navigatorvar$otherNav=$("#navigation-top, #navigation-bot").not(event.currentTarget);// Call bootstrap-paginators "show"-method to switch the page on the second paginator$otherNav.bootstrapPaginator("show",page);},
a solution that does not trigger the onPageclick event of the other paginator like calling "show" does..
$otherNav.bootstrapPaginator( { currentPage: page });
Is it possible to link multiple paginators so that if you change page in one of them, the others change too?
Most useful in a scenario where you have a paginator at the top and bottom of a long list of items.
The text was updated successfully, but these errors were encountered: