fixedHeader conflicts with "input" when it is in the th tag
fixedHeader conflicts with "input" when it is in the th tag
Vyacheslav
Posts: 70Questions: 27Answers: 0
in FixedHeader
Actually there are two issues:
- See at http://plnkr.co/edit/5dn5vG?p=preview and try to type into the input element.
... but If we commentfixedHeader: true
then all will be fine - See the same plunker
If we define the use of fixedHeader in defaults:
$.extend( true, $.fn.dataTable.defaults, {
fixedHeader: true
});
we will not be able to disable it in main module:
var table = $('#example').DataTable({
fixedHeader: false
});
The same is true and for Select plug-in.
Bugs?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I don't believe the first one is a bug. The click event is simply propagation up the DOM tree as events do. If you want it to no you need to use
stopPropgation()
to stop it form doing so: http://plnkr.co/edit/OkAzNwMVrXQebm7m3J1t?p=preview .The second one is a bug yes. Thanks for pointing that out.
Allan
Got it! Thanks a lot!
Finally fixed and will be in the Select 1.1.1 and FixedHeader 3.1.1 releases which will drop tomorrow.
Allan