Topic: MDBDataTable will not sort in descending order
sher222 free asked 4 years ago
Expected behavior
When the user clicks on the up arrow, the data will be sorted in ascending order.
Actual behavior
When the user clicks on the up arrow, nothing happens. After the initial sort, it is impossible to get the data to sort in ascending order. Instead, the data will just always sort in descending order even after clicking on the header.
Resources (screenshots, code snippets etc.)
This happens with the basic example code provided in the tutorial.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.26.0
- Device: Mac
- Browser: Chrome, Safari
- OS: Mojave
- Provided sample code: No
- Provided link: Yes
Piotr Glejzer staff commented 4 years ago
are you using only Mac?
Piotr Glejzer staff commented 4 years ago
I don't see a problem with that. Are you using an only mac?
Rohit Doddapani free commented 4 years ago
I too face this issue in windows
Magdalena Dembna staff commented 4 years ago
Can you create a code snippet to illustrate this issue? https://mdbootstrap.com/snippets/
Ofeck Moshe free commented 4 years ago
i have same problem, did you fix it?
Ofeck Moshe free commented 4 years ago
i have same problem, did you fix it?