• Resolved aimwebsa

    (@aimwebsa)


    Good day, I have inserted the following code but am not able to see the ‘Location’ drop down filter. Kindly can you assist. Thank you.

    [table id=3 datatables_columnfilter=true datatables_dom=”BWlfrtipB” datatables_buttons=”colvis,excel” datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=”2,4,5,6,7″ datatables_columnfilterwidgets_separator=”,” automatic_url_conversion=true  /]

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, there is no datatables_dom="BWlfrtipB" Shortcode parameter. Instead, please add this to the “Custom Commands” text field on the table’s “Edit” screen:

    "dom": "BWlfrtipB"
    

    Regards,
    Tobias

    Thread Starter aimwebsa

    (@aimwebsa)

    Hi Tobias, thanks for the fast response. I have removed datatables_dom=”BWlfrtipB” and added “dom”: “BWlfrtipB” to custom commands as you suggested, but that didn’t solve the issue. ‘Location’ filter is still not visible. Thanks

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    are you sure that you added it exactly like that? The upright quotation marks " are important here!
    Can you please post a screenshot of where you added the code (you can upload it to e.g. https://imgur.com/ and post a link here).

    Regards,
    Tobias

    Thread Starter aimwebsa

    (@aimwebsa)

    sorry, my bad. All sorted now. Thank you so much.

    Thread Starter aimwebsa

    (@aimwebsa)

    last question, how do I sort the filter values alphabetically?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    good to hear that this worked!

    Unfortunately, I’m currently not aware of a way to have the filter values sorted. As this is based on an external JavaScript library, that I did not develop, I also don’t know what would be necessary to make this work. It would have to be in the files
    /wp-content/plugins/tablepress-datatables-column-filter-widgets/js/ColumnFilterWidgets.js
    /wp-content/plugins/tablepress-datatables-column-filter-widgets/js/ColumnFilterWidgets.min.js

    Regards,
    Tobias

    Thread Starter aimwebsa

    (@aimwebsa)

    Thank you. Will give that a go.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, no problem!

    Best wishes,
    Tobias

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

The topic ‘Location filter’ is closed to new replies.