WordPress.org

Support

Support » Plugins and Hacks » TablePress » [Resolved] Pagination (with numbers not next button :) )

[Resolved] Pagination (with numbers not next button :) )

  • 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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author TobiasBg

    @tobiasbg

    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

    Thank you very much! you are awesome 🙂 🙂 🙂

    I forgot the “resolved”! 😀

    Plugin Author TobiasBg

    @tobiasbg

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Pagination (with numbers not next button :) )’ is closed to new replies.
Skip to toolbar