list.js
list.js copied to clipboard
Remove Natural Sort only for one column
Hello everyone,
First, thanks for that great script!
I have some difficulties with one thing. I would like to order one column "accountNumbers" (and just that column) the following way:
- 1
- 11
- 1103
- 112
- 2
- 23
- 245
- ...
Looks like Standard sort as explained here, but I really don't see how to achieve that.
Thanks for any help!
Check out Pull Request #515
You can then add custom sort per valueName by using
var listoptions = { sortHandlers:{ <valueName>: <custom sort function> } }
in the options object on list creation
This PR never migrated. Any other solution?