Datatables change row to order data
Datatables change row to order data
Hey Guys,
I would like to change the row on my table which is triggering the event to filter the table. Cause right now the problem is when you want to select a option from the select input, you cannot really do this cause the filter event gets triggered and the select input is closing again..
So, is there any possibility to have either the select inputs in the second row of the header or change the event to the second row which is triggering the order event?
Here you can find my code:
https://jsbin.com/duneticofu/1/edit?html,css,js,output
I have already tried to set the select inputs to the second row, however this is causing other problem. If you set the select inputs to the second header row, the option values are wrong..
This is how I tried it so far:
.appendTo( $('#contact_overview_table thead tr:eq(1) th').empty() )
Instead of (documentation):
.appendTo( $(column.footer()).empty() )
I would appreiciate any kind of help!
Thanks!
Answers
Please don't duplicate your posts. I answered the question in your other thread:
https://datatables.net/forums/discussion/51045/select-filter-on-header-and-fixed-wrong-option-values#latest
Kevin