• Resolved Brejen2014

    (@brejen2014)


    I installed tablepress and datatables filter plugins and activated… modified my shortcode to [table id=1 datatables_columnfilter=true /]

    still not working.

    Not sure what I missed ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter Brejen2014

    (@brejen2014)

    Hi Tobias, my problem is that I’m working on a local site. ??

    Thread Starter Brejen2014

    (@brejen2014)

    Not sure if this helps in finding the issue. I installed another plugin, the DataTables Filter WIDGETS. This plugin works!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    that’s unfortunate, as there’s no real way for me to debug this on a local site ??

    Can you maybe move this to a public server, as a test site?

    Does the table have a footer row? Are there any JavaScript errors in the error log console in the browser?

    Regards,
    Tobias

    Thread Starter Brejen2014

    (@brejen2014)

    There’s no footer row. I see that there’s no javascript error in the console section of the browser.

    Not sure if there would be a conflict with another plugin because I’m also using GRAVITYVIEW plugin and it uses a Datatable plugin extension.

    How can I tell if that’s the culprit? Individual TABLEPRESS Datable shortcode works but I could make it work if I combine at least two extensions. ??

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    then, please add a footer row. That’s required for the column filter, as that’s where it adds the filter input fields.

    It’s very well possible that that other plugin interferes here, especially if it also loads DataTables. I can only suggest to deactivate it for a test.

    Regards,
    Tobias

    Thread Starter Brejen2014

    (@brejen2014)

    Okay..the foot row fixes that ability to combine:

    DataTables Column Filter
    DataTables ColumnFilterWidgets

    Here’s a weird behavior, I think ColumnFilterWidgets and Buttons fight for their “place” in the page. Let me describe the behavior:

    Example #1:
    [table id=1 datatables_columnfilter=true datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=2,3,5,6,7,8,9,10,16 datatables_buttons=”colvis,copy,csv,excel,pdf,print” /]

    In the above example, BUTTONS is written after WIDGETS, so the Buttons work but without WIDGETS.

    Example #2:
    [table id=1 datatables_columnfilter=true datatables_buttons=”colvis,copy,csv,excel,pdf,print” datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=2,3,5,6,7,8,9,10,16 /]

    In the above example, WIDGETS is writted after BUTTONS, so the Wdigets work but without BUTTONS.

    I’m guessing there’s a conflict their placing?? The last that’s written on the shortcode overwrites the previous one??

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    correct, the ColumnFilterWidgets and the Buttons Extension “fight” for position here. It’s however easy to make them work both: https://www.ads-software.com/support/topic/using-columnfilterwidgets-and-buttons-at-the-same-time/#post-7384963

    Regards,
    Tobias

    Thread Starter Brejen2014

    (@brejen2014)

    YOU ARE THE BEST!!!

    IT WORKED, YAY! Thanks so much, Tobias. I appreciate your quick replies, awesome support.

    Plugin Author TobiasBg

    (@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 10 replies - 1 through 10 (of 10 total)
  • The topic ‘DataTables Column Filter not working’ is closed to new replies.