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: cant sort by asc and desc both

Ofeck Moshe free asked 4 years ago


Expected behavior It first sorts ascending when you click once and when you click again it sorts descending like it works in the examples

Actual behavior It only sorts ascending and nothing happens when you click again but if you click on other column it again sort it only once

Resources version 4.27. tried deleting and re-installing package-lock and node_modules Also not working with copy the examples


Piotr Glejzer staff commented 4 years ago

which datatable do you use? v5?


Ofeck Moshe free commented 4 years ago

I tried also the v5 and It does the same. even if I copy this example: https://mdbootstrap.com/docs/react/tables/sort/



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.27.0
  • Device: laptop
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No