Topic: Datatables, sort by number instead of alphabetically
Expected behavior
- 977908
- 882176
- 800423
- 99888
- 92875
- 90319
- 82306
Actual behavior
*Resources (screenshots, code snippets etc.)*I used the all html declaration and my numbers are declared like that
Dawid Wajszczuk staff answered 3 years ago
Hi,
Currently you can only sort by number using JS. Here is the snippet https://mdbootstrap.com/snippets/standard/d-wajszczuk/3921983#js-tab-view. You just need to provide Number instead of String.
Keep coding,
Dawid
penguin28 pro premium priority answered 3 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.0.0
- Device: Computer
- Browser: Firefox
- OS: Windows 10
- Provided sample code: No
- Provided link: No