Hi,
thanks for your question, and sorry for the trouble.
Just to be sure, you mean the sorting and not the filtering, right?
For that, please add this to the “Custom Commands” text field on the table’s “Edit” screen:
"columnDefs": [ { "orderable": false, "targets": [ 6 ] } ]
The 6 refers to the seventh column, as counting starts with 0 in this code.
Regards,
Tobias
Yes, I meant the sorting. I added the code and it works perfectly 😉
You offer the best plugin and support in the WP galaxy.
Best regards,
Jean
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!
Hi Tobias,
how can I hide one specific filter? For example “Beschreibung” in this link:
http://www.naehfrosch.de/kostenlose-schnittmuster-sammlung/
Stefan
Hi Stefan,
thanks for your post, and sorry for the trouble.
Just use the datatables_columnfilterwidgets_exclude_columns Shortcode parameter that is explained on https://tablepress.org/extensions/datatables-columnfilterwidgets/
Please also make sure that you don’t have any other HTML tags around the Shortcode. For that, please switch from the “Visual” to the “Text” editor on the “Edit” screen of this page. Then, please remove all <pre> and </pre> HTML tags around the table Shortcode, so that it stands by itself on its own line.
Regards,
Tobias
Hallo Tobias,
thanks for your help!!! It worked! You’ve got the best support of all WP Plugins!!! 🙂
Kind regards,
Stefan
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
And thanks for the kind words! 🙂
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!