Can anyone get tablesorter's default pager function to work?  The
pager functions don't show up for me.  The actual pager div is empty.
It DOES limit my table to 10 rows, but when I click on a header to
sort a row, my tbody is all the sudden empty.  Never have I actually
seen the pager control.

As a workaround, I'm using .pager() for now.

Using jquery 1.3.1 (also tried with 1.2.6, which leads me to believe
I'm doing something wrong)
Using tablesorter 2.0

Code:

                <script type="text/javascript" src="${newJqueryURL}/
jquery-1.3.1.js"></script>
                <script type="text/javascript" src="${newJqueryURL}/jquery-ui-
personalized-1.6rc6.js"></script>
                <script type="text/javascript" src="${newJqueryURL}/
jquery.tablesorter.js"></script>
                <script type="text/javascript" src="${newJqueryURL}/
jquery.tablesorter.pager.js"></script>

                <script type="text/javascript">
                $(document).ready(function() {
                    $("#actionListTable")
                    .tablesorter({widthFixed: false, widgets: ['zebra']})
                    .tablesorterPager({container: $("#pageit")});
                });
                </script>

My table uses a <thead> and <tbody>.  After the </table> tag, I've
included an empty div like this:
<div id="pageit" class="pageit"></div>

Thanks!
-Jon Thomas

Reply via email to