Search code examples
tablesorter

Unlimited Page Sizes


I'm using TableSorter 2.28.15 on a site with job listings to allow the visitor to sort the jobs based on a few of the columns. However, the table is only displaying 15 rows, which I believe is a default.

Unfortunately, I can't tell where to change that? The client doesn't want pager controls to let people navigate through the listings - they want them all to appear.

Any help is very much appreciated!


Solution

  • Set the pager size option to "all" (demo)

    $('table').tablesorter({
        theme: 'blue'
    }).tablesorterPager({
        container: $(".pager"),
        size: 'all'
    });
    

    I'll need to update the documentation