?ColumnFilterWidgets: Numeric sorting via options?
?ColumnFilterWidgets: Numeric sorting via options?
Hi,
I'm using DataTables and ColumnFilterWidgets via the popular WordPress plugin TablePress. I need numeric sorting for the values in a specific filter dropdown which needs be set via the regular DataTables functions.
The WordPress plugin supports adding customizations such as "columnDefs": [ { "orderable": false, "targets": [ 4, 7, 8, 9, 10 ] } ]. Unfortunately, I'm struggling to find a solution to list the dropdown values numerically. Any advice would be highly appreciated.
Best,
Thomas
This question has an accepted answers - jump to answer
Answers
You'd probably need to ask the ColumnFilterWidgets author. It is not a plug-in that is written or supported by us.
Allan
Thanks, didn't know that! Is there something similar "official" that supports dropdown filters?
Cheers,
Thomas
Not sure what CustomFilterWidgets does but there is this example. There is also another third party plugin called YADCF.
Kevin
You could consider our SearchBuilder extension.
Allan