Date and Sorting doesnt work
-
Hi Tobias, I am currently checking if i could use the tablepress plugin to list all the seminars. I want the table to be sorted by date as a standard value.
So I installed the datasorting plugin extension but the sorting only recognizes the first numbers. Then i tried to apply the following code in the customs field:
"columnDefs": [{"type": "date-eu", "targets": [0,1]}]
First two columns are “Date from” and “Date until”.
I added the table by following shortcode:
[table id=1 responsive=scroll datatables_fixedheader=top datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=1,2,5,6,8 automatic_url_conversion=true automatic_url_conversion_new_window=true? /]
So Plugin installed, tried to put in custom format and still it doesnt seem to work. Also tried some solutions from different forums like this one:
"columnDefs": [ { "type": "date-eu", "targets": [ 0,1 ] } ], "order": [ [ 0, "asc" ] ]
That should work but somehow doesnt. I am running out of ideas ??
If that works I will for sure donate some money because the plugin is awesome!!
- The topic ‘Date and Sorting doesnt work’ is closed to new replies.