Is it possible to clear the sort function by clicking the 3t


Topic: Is it possible to clear the sort function by clicking the 3th time?

Roy Van der kaap asked 6 years ago

Hello,

Is there a way to get back to the first state of the table after sorting, like u are refreshing the page?

I've seen some tables where they use a third click to return to the first state and i can't find it in de documentation here.

first click is sorting ascending, second click descending.


Arkadiusz Idzikowski staff answered 6 years ago

Hello,

Unfortunately, currently there is no built in method for that. I will add this feature to our nice-to-have list. I think the only workaround for now is to keep a copy of the original array.


FREE CONSULTATION

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

Status

Closed

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.5.0
  • Device: desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No