• Resolved SeeThrough Web

    (@seethroughweb)


    Hi,

    I want to use datatables_buttons=pdf in my table, but when I added that attribute the datatables_columnfilterwidgets=true (filters) do not show anymore in my FE.

    Can you help us please?

    Thanks.

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.

    The reason for this is that these Extensions overwrite a parameter that both are using. To fix this, you’ll need to add a “Custom Command”: To display both extensions, you need to add:

    "dom": "BWlfrtip"
    

    in the “Custom Commands” textfield on the “Edit” screen of your table.
    The B stands for the Buttons Extension, the W stands for the ColumnFilterWidgets, according to the DataTables Documenation at https://datatables.net/reference/option/dom

    Regards,
    Tobias

    Thread Starter SeeThrough Web

    (@seethroughweb)

    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!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    I forgot to mention that you can also change the order of the elements by changing the position of the letters in the code above.

    Best wishes,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘datatables_buttons=pdf not working with datatables_columnfilterwidgets=true’ is closed to new replies.