2 dropdown boxes,1 column and sorting.
2 dropdown boxes,1 column and sorting.

Hello Older and Viser coders.
i have nasty situation. All my datatables are working fine and never had problem, until now.
I got task to implement 2 sorting select-boxes to one column and i dont get it working.
The bigger problem is that those 2 different sort should sort that column 2 another dropdowns.
So Box1 is sorting Res1-select box, and Box2 Res2-select box. Box1 and Box2 is at thead, Res1, Res2 at tbody
And must use .change-function. I would love to but image or url, but i cant.
i have nasty situation. All my datatables are working fine and never had problem, until now.
I got task to implement 2 sorting select-boxes to one column and i dont get it working.
The bigger problem is that those 2 different sort should sort that column 2 another dropdowns.
So Box1 is sorting Res1-select box, and Box2 Res2-select box. Box1 and Box2 is at thead, Res1, Res2 at tbody
And must use .change-function. I would love to but image or url, but i cant.
This discussion has been closed.
Replies
I don't understand I'm afraid. Can you give us an example? Does the Dom sorting example help at all: http://datatables.net/release-datatables/examples/plug-ins/dom_sort.html (last column is sorted by checkboxes).
Allan