WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
[resolved] Problem with pagination (8 posts)

  1. Tanya
    Member
    Posted 2 years ago #

    i am just mocking up some tables on my website at the moment. I am having trouble with the pagination not coming up and search for my table "Tipping Ladder" found on this page: http://netballscoop.com/tipping/

    - I have activated the Javascript library
    - <?php wp_footer(); ?> is inserted before </body>
    - I have ticked the box on the Table page to say that I want to show 5 rows per page.

    Not sure where to go from here, if you would help me I would be very grateful! Thanks :)

    http://wordpress.org/extend/plugins/wp-table-reloaded/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    thanks for your question.

    After taking a look at your site, I assume that this is the result of the #colspan# in the table head row. Unfortunately, at this time, the DataTables JavaScript library (which does the pagination/sorting/etc.) does not always work with tables that have combined/merged cells.
    If you remove that colspan, the pagination should however work as expected.

    Regards,
    Tobias

  3. Tanya
    Member
    Posted 2 years ago #

    Yup, that seems to have done the trick. I was going nuts turning off plugins to see if it would work haha.

    Thanks heaps!

  4. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    great to hear that! :-) Thanks for the confirmation!

    Best wishes,
    Tobias

  5. Tanya
    Member
    Posted 2 years ago #

    Hi Tobias,

    I am having trouble with the pagination again.

    It was working before but I'm not sure why it isn't working now.

    I have gotten rid of the colspan as suggested, I haven't installed any new plugins so I'm not sure what the problem is.

    Once again it is on the url http://netballscoop.com/tipping and the table is called Tipping Ladder. Right now it is meant to only show 10 rows.

    Thanks,
    Tanya :)

  6. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Tanya,

    from what I can see, there's still a colspan in the left table on your page, while that table also has DataTables activated. As it seems, this also breaks the feature for the other tables on your page.

    Best wishes,
    Tobias

  7. Tanya
    Member
    Posted 2 years ago #

    Ah yep, I've deactivated DataTables on the left table so it's working now.

    Thanks again!

  8. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    great! That's good to hear. Thanks for the confirmation!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic