• Resolved sooren

    (@sooren)


    Hello!

    First of all I need to say your Plugin and its extensions and the way you support it, is just ADORABLE. Thank you so much 🙂

    I’m a new user of Table-press and I found the answers of all of my questions easily by searching on the Net (Thanks to your fantastic supports every where)

    But Just one thing I couldn’t find, What about If I want to change the method of pagination!? Now it just shows “next/previous page” and I like it to show selectable page numbers and First/last page Buttons, etc

    Is it possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, including the numbers and first/last is possible. For that, please add this to the “Custom Commands” textfield on the “Edit” screen of the table:
    "pagingType": "full_numbers"

    For other possible values, please see https://datatables.net/reference/option/pagingType

    Regards,
    Tobias

    Thread Starter sooren

    (@sooren)

    Thanks for your quick reply.

    I tried and it didn’t work out. When I add it to the “Custom Commands”, the table just shows all 300 rows in a single page and there is no pagination!

    What’s the problem? maybe because of conflict with one of the extensions like “tablepress-length-change-all” !?

    Thread Starter sooren

    (@sooren)

    I found the reason. I guess you forgot to type a quotation mark inside the command and it must be”pagingType”: “full_numbers”

    Thank you for your guidance.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

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

    And yes, I had forgotten a quotation mark there, nice catch! (I’ve now added it in the previous post.)

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘pagination Method’ is closed to new replies.