2 dropdown boxes,1 column and sorting.

2 dropdown boxes,1 column and sorting.

noitatohtorinoitatohtori Posts: 2Questions: 0Answers: 0
edited December 2011 in DataTables 1.8
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.

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    > implement 2 sorting select-boxes to one column

    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
  • noitatohtorinoitatohtori Posts: 2Questions: 0Answers: 0
    I shall do example for later today. it should explain more than my poor english writing skill.
This discussion has been closed.