Topic: Table sort by date
DerLino free asked 4 years ago
https://www.bilder-upload.eu/bild-4125fe-1590317046.png.html
I would like to sort my table so that the next appointment is at the top. Do you know how can I fix this?
I would be happy, if you answer me.
Best wishes Lino
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Closed
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.18.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes
Grzegorz Bujański staff commented 4 years ago
See an example in our documentation. It works fine here: https://mdbootstrap.com/docs/jquery/tables/datatables/#basic-example. I suppose the problem is mixed value - it is not a date because it also contains text
DerLino free commented 4 years ago
I deleted the day in the date but it wasn't the solution.The problem is that the script is not compatible with the German way to write a date. If I write the date in the english format, when it works.
https://www.bilder-upload.eu/bild-78c484-1590429702.png.html
Do you know how can I fix this problem?
Grzegorz Bujański staff commented 4 years ago
Unfortunately not. I tried several ways, but unfortunately it didn't work out