Topic: mdbReact Datatable sort not working
aris abdulgani asked 5 years ago
Expected Behavior :https://mdbootstrap.com/docs/react/tables/datatables/
As given under the sample example in the above link on clicking the columns the table sorts. Now I have copied and pasted the exact same code given but when I click the column it sorts and becomes greyed out I cannot click it again. Can someone confirm if its the same for everyone and if not what am i most likely missing.
Jakub Chmura staff premium answered 5 years ago
Hi @aris abdulgani,
I have already tested examples from your link and I didn't have achieved this behavior like yours. Please try to remove the node-modules
folder andpackage-lock.json
/ yarn.lock
and then runnpm i
/ yarn
command in your console.
In most cases, this solution works with issues like yours.
If my solution doesn't work in your case please give me more details to reproduce this bug.
Best, Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.25.4
- Device: Laptop
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes