WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Doremdou
    Member
    Posted 8 months 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 8 months 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 8 months ago #

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

  4. Doremdou
    Member
    Posted 8 months ago #

    I forgot the "resolved"! :D

  5. TobiasBg
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

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

    Best wishes,
    Tobias

Reply

You must log in to post.

About this Plugin

About this Topic

Tags