Topic: MDBDataTable - mdbreact - Sorting Issue
amani.farag asked 5 years ago
I have an issue that when click on any row (I made onClick Event which call modal) , it sorting the whole table and return me for example to (Showing 1 to 10 of 92 entries) , want to solve this issue urgently plz.I want the sorting to be done only via the table header. I'm using "mdbreact": "^4.24.0",here you are a simple code simulates my code on sandboxhttps://codesandbox.io/s/cranky-meadow-q824e
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.24.0
- Device: labtop
- Browser: firefox
- OS: windows10
- Provided sample code: No
- Provided link: Yes
Piotr Glejzer staff commented 5 years ago
https://codesandbox.io/s/still-pond-s90xy this is your code and I don't see a problem with sorting.