Stop dataTable events and callbacks
Stop dataTable events and callbacks
I've got a page with Twitter Bootstrap tabs, and only one container, with dataTable inside.
When clicking on tab, container's content is getting replaced with new dataTable with different structure and data. Problem happens, when user changes tabs too fast, and previous dataTables haven't finished initialization.
I tried to destroy current dataTable on tab click, but it doesn't help, callbacks are still executing.
Is it possible to destroy dataTable with all events and callbacks or is there a flag, that stops execution of all event calls?