• Resolved Doremdou

    (@doremdou)


    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

    Thread Starter Doremdou

    (@doremdou)

    Thank you very much! you are awesome πŸ™‚ πŸ™‚ πŸ™‚

    Thread Starter Doremdou

    (@doremdou)

    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 ‘Pagination (with numbers not next button :) )’ is closed to new replies.