cant sort by asc and desc both


Topic: cant sort by asc and desc both

Ofeck Moshe free asked 1 year 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 1 year ago

which datatable do you use? v5?


Ofeck Moshe free commented 1 year 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
  • User: 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