Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Conversation

@christianz
Copy link

I added a pager for the table in fbootstrapp. Add the tablesorter to your table as usual, and a

<div id="pager" class="pagination"></div>

directly after your table declaration. Then hook it up with:

$("#my-table").tablesorter().tablesorterPager({
    container: $("#pager")
});

It supports the following additional options:

  • pagesToDisplay (default 5) - the number of page buttons to display at a time
  • prevText (default 'Previous') - the text on the prev button
  • nextText (default 'Next') - the text on the next button

Check out the table-with-pager.html page in /examples for more info. Hope you can use this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant