$.fn.DataTable.isDataTable returns false when DT is initialized
$.fn.DataTable.isDataTable returns false when DT is initialized
ghg_snake
Posts: 3Questions: 1Answers: 0
This is my code: http://jsfiddle.net/wL9agms8/
Why does isDataTable return false in this case?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
It works as expected if I change
<table class="holder-2">
to<table id="holder-2">
and change the script accordingly. But why, though?Hi,
Thanks for the test case! There was a bug in DataTables in the
$.fn.dataTable.isDataTable()
method. I've just committed the fix and the nightly is now up-to-date.Updated test case - links to the nightly.
Regards,
Allan
Thank you kindly!