Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6757731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:41:23+00:00 2026-05-26T13:41:23+00:00

I currently have a large result set in a table where I am applying

  • 0

I currently have a large result set in a table where I am applying and removing a class of ‘hidden’ (display:none) to certain rows based on other filters within the page. I’m able to get tablesorter working with the zebra widget, but when I try to include tablesorterPager on it, the script dies without any errors.

I’ve tried removing the ‘hidden’ class from the table rows, and it limits the results, but doesn’t create the pagination controls and if you try to sort, the results disappear and the script dies.

$('table').tablesorter({
    widthFixed:true,
    widgets: ['zebra']}
).tablesorterPager({
    container: $("#pager")
});

That’s the code that’s called on document ready.

At any given time, here’s a few sample rows of data (pre-tablesorter):

<tr class="place hidden">
    <td class="name">Sample Row 1</td>
    <td>100</td>
    <td>12</td>
    <td>1</td>
    <td>1</td>
    <td>0</td>
</tr>
<tr class="place">
    <td class="name">Sample Row 2</td>
    <td>100</td>
    <td>12</td>
    <td>1</td>
    <td>1</td>
    <td>0</td>
</tr>
<tr class="place hidden">
    <td class="name">Sample Row 3</td>
    <td>100</td>
    <td>12</td>
    <td>1</td>
    <td>1</td>
    <td>0</td>
</tr>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:41:23+00:00Added an answer on May 26, 2026 at 1:41 pm

    You have to add the complete pager DOM structure as so:

      <div id="pager" class="pager">
    <form>
      <img src="javascript/jqPlugins/tablesorter/addons/pager/icons/first.png" class="first"/>
      <img src="javascript/jqPlugins/tablesorter/addons/pager/icons/prev.png" class="prev"/>
      <input type="text" class="pagedisplay"/>
      <img src="javascript/jqPlugins/tablesorter/addons/pager/icons/next.png" class="next"/>
      <img src="javascript/jqPlugins/tablesorter/addons/pager/icons/last.png" class="last"/>
      <select class="pagesize">
        <option selected="selected"  value="10">10</option>
        <option value="20">20</option>
        <option value="30">30</option>
        <option  value="40">40</option>
      </select>
    </form>
    

    Also note that the zip I downloaded did not contain any of the image files since the ‘icons’ folder is missing. Also annoying was the fact that the zip contained svn repo folders. So you have to add this ‘icons’ folder and the image files within. You can download the images files from the tablesorter example page for the pager. I also had to set my path directly to the images (notice in my code sample I do that). Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large table (2,000,000 rows) and I'd like to print each record
I have a table containing a large number of rows. Each row has 2
I have a large result set assembled in a parent/child relationship. I need to
I have a table containing a large number of rows. Each row has 2
I currently have two panels within another large panel. The left panel is for
I have a very large app, 1.5 million lines of C++, which is currently
I'm currently monitoring a large network with Hobbit and have been tasked with lowering
I currently have speakers set up both in my office and in my living
I have to read in a large record set, process it, then write it
I have a large table and I'd like to store the results in Memcache.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.