• Resolved hidden84

    (@hidden84)


    Hello there,

    I am sorry in advance if I am asking something obvious, but I tried to search for an answer without success. It seems I cant add more then one extension inside single table. I have table with ID [table id=1 /]

    So when I add button extension it looks like this

    [table id=1 datatables_buttons=”colvis,copy,excel,print” /]

    And it works fine, except the colvis buttons are not clickable and not work (I also need a help with this).

    But when I want to add the Column filter widgets extension I do the following

    [table id=1 datatables_buttons=”colvis,copy,excel,print” columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,3,5,6,7,8 /]

    And it doesnt work. But if I apply only one extension code in table shortcode, it works.

    Please, can you tell me what I am doing wrong? Thank You in advance!

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, not all Extensions are directly compatible, but need a small manual tweak.
    To use both the DataTables Buttons and the DataTables ColumnFilterWidgets Extension in the same table, please add this to the “Custom Commands” text fields on the table’s “Edit” screen:

    "dom": "BWlfrtip"
    

    (Then, to be able to fix the colvis problem, please post a link to the page with the table. Thanks!)

    Regards,
    Tobias

    Thread Starter hidden84

    (@hidden84)

    Hello,
    Thank you, that work…

    Here is the link with a dummy table and colvis problem

    • This reply was modified 7 years, 6 months ago by hidden84.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the link!

    To fix this, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    div.dt-button-background {
      display: none !important;
    }

    This will remove that background (which is ugly anyways) for now.

    Regards,
    Tobias

    Thread Starter hidden84

    (@hidden84)

    Thank you so much!

    Great plugin, and incredible support. Just one small question – there is no option to do the front end editing of tables – I googled TinyEditor plugin but it seems outdated.

    I would also like to ask – is it possible to print/download only visible columns after the colvis selection?

    Thank you once again, I will rate the plugin right now 🙂

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    indeed, there is no option to do frontend editing in tables. This simply is not possible due to way how tables are saved, sorry.

    Taking into account the colvis selection is possible with an extra “Custom Command”, please see https://ww.wp.xz.cn/support/topic/export-visible-columns-only/ for a suggestion.

    Regards,
    Tobias

    Thread Starter hidden84

    (@hidden84)

    Thank you! This works, although it removes the print option from colvis

    .

    • This reply was modified 7 years, 6 months ago by lionsteel.
    • This reply was modified 7 years, 6 months ago by lionsteel.
    Thread Starter hidden84

    (@hidden84)

    Everything resolved, thanks.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

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

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

The topic ‘Multiple extensions in one table’ is closed to new replies.