Auto sort table by UK date
-
I am trying to use TablePress as a club event diary and would like it to sort by dd/mm/yyyy date on the display page when someone creates a new row of data. I’ve added ‘DataTables Sorting plugins’ and ‘Table Row Order’ and added Custom Command “columnDefs”: [ { “type”: dd/mm/yyyy, “targets”: [1] } ] and changed the page shortcode to [table id=2 row_order=”sort” row_order_sort_column=”A” row_order_sort_direction=”DESC” /] but can’t get it to see the data as a date rather than a number.
I expect I’m just doing it wrong!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Auto sort table by UK date’ is closed to new replies.