WordPress.org

Forums

TablePress
[resolved] Pagination (with numbers not next button :) ) (5 posts)

  1. Doremdou
    Member
    Posted 1 year ago #

    Hello Tobias! :)

    I tried to add pagination the other day (with numbers not next button), I remember finding a code on your support forum (can't find it anymore... :/) to add on the custom commands but it didnt work.

    I already have this in my custom commands:

    "aoColumnDefs": [ { "iDataSort": 6, "aTargets": [ 7 ] }, { "bVisible": false, "aTargets": [ 6 ] } ]

    What should I add to make this work? ^^

    Thank you very much as always ! :)

    PS : I have now more than 1000+ rows in my table, do you think it will become a problem?

    https://wordpress.org/plugins/tablepress/

  2. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    thanks for your question, and sorry for the trouble.

    This should work:

    "sPaginationType": "full_numbers", "aoColumnDefs": [ { "iDataSort": 6, "aTargets": [ 7 ] }, { "bVisible": false, "aTargets": [ 6 ] } ]

    And no, thousand rows should not be a problem on the frontend, and if the "Edit" screen is working fine for you as well, everything is ok (it might become slower with more rows).

    Regards,
    Tobias

  3. Doremdou
    Member
    Posted 1 year ago #

    Thank you very much! you are awesome :) :) :)

  4. Doremdou
    Member
    Posted 1 year ago #

    I forgot the "resolved"! :D

  5. TobiasBg
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    no problem, you are very welcome! :-) Good to hear that this helped!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • TablePress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags