Problem with pagination resetting to first page by using tablesorter & tablesorter pager with jquery.js file
Hi Team,
I am using the tablesorter & tablesorter.page plugins with jquery.js to support my struts 1 version. Here i am building the table dynamically getting json data from ajax call. Displaying the data everything is fine with five rows per page but when i click on the header part of the table pagination part displaying the page & total pages like "1/1" instead of "1/18" if i have 90 records also. I think it is considering the total rows as five only which i am displaying in table and doing some calcualtions in jquery.tablesorter.js in below code:
"var c = table.config;
c.rowsCopy = rows;
c.totalRows = rows.length;
c.totalPages = Math.ceil(c.totalRows / c.size);"
c.size = 5, which i want to display the no of records per page.
c.totalRows = 5, also considering table displaying rows only even if i have 90 records.
so the value of "c.totalPages" getting "0" value after that adding "+1" in below code:
"$(c.cssPageDisplay,c.container).val((c.page+1) + c.seperator + c.totalPages); "
kindly help me to come out of this issue. It should sort the records which i am displaying in table and at the same time total rows should not change to "5" instead of "90".
Kindly let me know incase of any concern.
Thanks in advance for replies.... 
Regards,
Vinodkumar.S