Topic: Wrong sorting Date in DataTable

Chaito free asked 4 years ago


Hello everyone,

I'm trying to use MDB Datatable in React, but i found an error.

When i try to sort the column Date, my sort doesn't work very well as u can see it.

I'm from Brazil and here we use the date like 'DD/MM/YY' and when I do the ordering the values ​​04/06/2019 and 04/11/2019 appear in sequence.

Someone can help me with this?

Thankx. enter image description here


Piotr Glejzer staff commented 4 years ago

Hi,

we don't have a functionality to change a type of data to sort. I add a task to implement this. Sorry about that.

Best,
Piotr


Chaito free commented 4 years ago

Thank you for your support!


Chaito free commented 4 years ago

Thank you for your support!


Piotr Glejzer staff commented 4 years ago

No problem :). Have a nice day.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.14.0
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags