ckrack / fbootstrapp

HTML, CSS, and JS toolkit for facebook apps
http://ckrack.github.com/fbootstrapp/
Apache License 2.0
1.61k stars 173 forks source link

Added a pager for the tablesorter #10

Open christianz opened 12 years ago

christianz commented 12 years ago

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:

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