My bad didnt copy the pager div section from the example.

On Jul 21, 11:31 am, Vamshi <rocky...@gmail.com> wrote:
> This works fine when i just use tablesorter but when I add pager
> plugin code , it doesnot work properly.
>
> What happens : When I click on the header to sort, it displays me a
> just the header row
>
> What should be done : .......
>
> Following is the code,
>
> <html>
> <head>
> <link rel="stylesheet" href="/css/custom-theme/jquery-
> ui-1.7.custom.css" type="text/css">
> <link rel="stylesheet" href="/tablesorter/themes/blue/style.css"
> type="text/css">
> <link rel="stylesheet" href="/pager/jquery.tablesorter.pager.css"
> type="text/css">
> <script type="text/javascript" src="/js/jquery-latest.js"></script>
> <script type="text/javascript" src="/js/jquery-1.3.2.min.js"></script>
> <script type="text/javascript" src="/js/jquery.tablesorter.js"></
> script>
> <script type="text/javascript" src="/pager/
> jquery.tablesorter.pager.js"></script>
>
> <script type="text/javascript">
> $(document).ready(function()
>     {
>         $("#myTable").tablesorter( {sortList: [[0,1], [1,1]]}, debug:
> true  )
>                              .tablesorter({widthFixed: true, widgets: 
> ['zebra']})
>                      .tablesorterPager({container: $("#pager")});
>
>     }
> );
> </script>
> </head>
> <body>
> <table id="myTable">
> </body>
> </html>
> <thead>
> <tr>
>     <th>Last Name</th>
>     <th>First Name</th>
>     <th>Email</th>
>     <th>Due</th>
>     <th>Web Site</th>
> </tr>
> </thead>
> <tbody>
> <tr>
>     <td>Smith</td>
>     <td>John</td>
>     <td>jsm...@gmail.com</td>
>     <td>$50.00</td>
>     <td>http://www.jsmith.com</td>
> </tr>
> <tr>
>     <td>Bach</td>
>     <td>Frank</td>
>     <td>fb...@yahoo.com</td>
>     <td>$50.00</td>
>     <td>http://www.frank.com</td>
> </tr>
> <tr>
>     <td>Doe</td>
>     <td>Jason</td>
>     <td>j...@hotmail.com</td>
>     <td>$100.00</td>
>     <td>http://www.jdoe.com</td>
> </tr>
> <tr>
>     <td>Conway</td>
>     <td>Tim</td>
>     <td>tcon...@earthlink.net</td>
>     <td>$50.00</td>
>     <td>http://www.timconway.com</td>
> </tr>
> </tbody>
> </table>
>
> Any help would be greatly appreciated.
>
> Thank you
> Vamshi

Reply via email to