Hi,
thanks for your question, and sorry for the trouble.
formatted-num is the wrong type. You want to use date-eu.
Regards,
Tobias
Is it possible that its conflicting with the Table Row Order plugin ? Im using the following code to sort by Column F ( the date column ). It seems to be sorting correctly when i press the column arrow, but not automaticaly as it should 🙁
row_order=sort row_order_sort_column=F row_order_sort_direction=DESC
Sorry to be a bother and thank you so much for your time !
Hi,
indeed, the Table Row Order Extension works differently, it does not take these commands into account (it doesn’t use JavaScript).
Instead, you could use the “Custom Command”:
"columnDefs": [ { "type": "date-eu", "targets": [ 5 ] } ], "order": [[ 5, 'asc' ]]
Regards,
Tobias
That works perfectly, thank you so much for your time and have a great weekend. Will see to support your work !
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!