• Resolved jakkoni

    (@jakkoni)


    Hi, my table is located on two pages of the site. On the first page is a short version of the table, on the second page is the full version of the table. I need to remove the buttons under the table on the first page previous / next. And on the second page where the full table i need to add style to these buttons (like this: https://pastenow.ru/c77a26d6b7d118a5ad267dfd6322ffa7 )

    you can look on the website

    • This topic was modified 4 years, 11 months ago by jakkoni.
    • This topic was modified 4 years, 11 months ago by jakkoni.
    • This topic was modified 4 years, 11 months ago by jakkoni.
    • This topic was modified 4 years, 11 months ago by jakkoni.
    • This topic was modified 4 years, 11 months ago by jakkoni.
    • This topic was modified 4 years, 11 months ago by jakkoni.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    To remove the feature on the first page, you could add a Shortcode parameter to turn off pagination:

    [table id=123 datatables_paginate=false /]
    

    To use a different type of pagination, you can add this to the “Custom Commands” text field on the plugin’s “Edit” screen:

    "pagingType": "full_numbers"
    

    For the different options, see https://datatables.net/reference/option/pagingType

    Regards,
    Tobias

    Thread Starter jakkoni

    (@jakkoni)

    Sorry, I can’t find where the “Custom Commands” text field on the plugin’s “Edit” screen is located. Help if you can! thanks

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    it should be at the bottom of the “Features of the DataTables JavaScript library” section.
    However, your user must have the unfiltered_html access capability, which means that you must be an Administrator, or if this is a Multisite environment even a Super-Admin, I think.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘help with table’ is closed to new replies.