• Resolved davidmitcha

    (@davidmitcha)


    When both the DataTables Buttons and the DataTables Column Filter Widgets plugins are used on the same table, the Column Filter Widgets plugin seems to override the buttons.

    DataTables Buttons creates a div class “column-filter-widgets” and that div is replaced with the Column Filters when both are activated.

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To use both these Extensions at the same time, an extra step is necessary. The reason for this is that they overwrite a parameter that both are using. To fixt 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 Documentation at https://datatables.net/reference/option/dom

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Buttons Plugin Overrides Column Filter Widget Plugin’ is closed to new replies.