Unable to Sort Date
-
A table is not being sorted by date in descending order, ie Most current to oldest date.
I am importing a CSV file with a date format of yyyy-mm-dd. The dates are in column 1. Here is a sample:
2018-03-18,22,2,2,3,0,0,0,1,0,0,2,32I have also included the following code in the custom commands field:
order:[[0,’desc’]],columnDefs:[{type:’date’,targets:[0]}]
I also have the line checked in Use the following features of the DataTables JavaScript library with this table
The TablePress plugin versions installed are:
1. TablePress Version 1.9.2
2. TablePress Extension Version 1.0
3. TablePress Extension: Table Auto Update Version 1.2The page I need help with: [log in to see the link]
- The topic ‘Unable to Sort Date’ is closed to new replies.