fnDestroy() doesn't remove the dataTable class on the table DOM element.
fnDestroy() doesn't remove the dataTable class on the table DOM element.
greendeveloper
Posts: 4Questions: 0Answers: 0
So, this is kind of a minor bug, but it's important to me. I'm keeping track of which tables are still dataTable objects by whether the table has the class "dataTable", since this is added by the initialization of the widget. However, on oTable.fnDestroy(), the dataTable class is not removed, and I've got to personally manage that. Could this fix be added to the next minimized version?
Attached is a simple jsbin highlighting what I'm referring to.
http://live.datatables.net/eponuv/edit#javascript,html
Attached is a simple jsbin highlighting what I'm referring to.
http://live.datatables.net/eponuv/edit#javascript,html
This discussion has been closed.
Replies
Regards,
Allan