Select Filter "alphabretic" order
Select Filter "alphabretic" order

Hello, I hope you might help me.
There is any way to order the select filters?
like = a,b,c,d,e..
and not = a,3,f,v,f...
Link to a demo link to a demo - https://jsfiddle.net/omarcho/kad40x9o/
Thanks in advance
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
With
"order": [[2, 'asc']],
I can order 1 column but is I use:"order": [[ 0, 'asc' ], [ 1, 'asc' ]]
ORorder": [[2,3,4,5,6, 'asc']],
doesn't workThat's not an issue with DataTables, that's the multi-select component. It would be worth asking on StackOverflow or a more specific site.
Colin
Oh ok sorry. Thanks anyway
If anyone have some problem like this in the future look here:
https://stackoverflow.com/questions/64207740/datatables-multi-select-component-select-filter-alphabretic-order
This looks like the code for the plugin:
https://github.com/omarcho/dataTables.multiSelect/blob/master/src/js/dataTables.multiselect.js
Starting on line 107 is where it builds the select lie, I think :-)
You could try adding
sort()
like in this example.Kevin
It works
kthorngren I own you a beer or a cafe