Fixed Header Plug-in Leaving Events Bound After DataTables is Destroyed

Fixed Header Plug-in Leaving Events Bound After DataTables is Destroyed

psplb3psplb3 Posts: 1Questions: 1Answers: 0
edited December 2016 in Free community support

I have been using DataTables for a while and love it.

I am using a DataTables in one of my projects and found that events were still bound to the header if:
* I create a DataTable with the fixed header plug-in
* The user scrolls down so the header becomes "fixed"
* DataTable is destoyed (turned into a regular table again)

Example at live.datatables.net/xejiqewe/3/edit. To test the example open the Console tab, click the “Produce Error” button, and wait a few seconds (When you see colored boxes on the header it is done). The example uses Visual Event to show events.

I tried this on Chrome 54.0.2840.99 m, FireFox 49.0.2, and IE 11 (I do not need IE 11 support; it was just another quick test) and all of them had the same issue.

Is this something that can be fixed in the next release?

EDIT: attached HTML file with the same test code as the example

This discussion has been closed.