multi_filter_select in the header
multi_filter_select in the header
Hello Allan,
I use an example
https://datatables.net/examples/api/multi_filter_select.html
But i modify the script to insert the select in the header.
The problem, when i want to use this select, i need to hold the click of the mouse (On Firefox 40.0.2) to select in the dropdown list.
When i use one click, Datatable use the sort function
Best regards,
Nicolas
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Thanks for your question - however, per the forum rules can you link to a test case showing the issue please. This will allow the issue to be debugged.
Information on how to create a test page, if you can't provide a link to your own page can be found here.
My guess is you need to put the select elements into a different header row from the sort icons, but without a test case it is impossible to say.
Thanks,
Allan
Hello Allan,
When i use fixedHeader and the multi filter select in the header, i have the problem (described the August 25).
The link of my problem (On Firefox 40.0.2) ---> https://jsfiddle.net/ztxfqh1q/
Best regards,
Nicolas
Thanks. The issue is that there is there is already an event listener on the header cell (the sort listener) and you need to stop the click event on your select element bubbling up to it: https://jsfiddle.net/ztxfqh1q/2/
Allan
That worked, wonderfully.
Thank you very much for your help.
Nicolas