Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: mdbReact Datatable sort not working

aris abdulgani free asked 4 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 answered 4 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



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: 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