Deleted event handlers outside the data table problem

Deleted event handlers outside the data table problem

DinuDinu Posts: 3Questions: 2Answers: 0

Hi all,
I have a problem that happens in a quite complex scenario, so provinding a minimal TC might be a sisiphic task. However, I've narrowed it down to this:

I have a widget with a handler for a custom event (itemSelected) set on an element completely unrelated to the DataTables table (in a different place in the DOM and there is no interaction between them whatsoever).
I have DataTables set up with AJAX.
When the data table loads (and only on success, so I suspect something happens in the draw function), the itemSelected event handler gets deleted from the outside, unrelated element; $._data(el,'events') becomes Undefined. It doesn't seem to be related to the init but rather the rendering code in DataTables.
My question is, is there any possibility DataTables is leaking binds (and/or unbinds) outside its wrapper? Or duplicating HTML (this operation doesn replicate event handlers) outside its wrapper. I've tried looking around, but if someone could point closer it would save a lot of time.

I've already eliminated obvious culprits for such behavior such as double-loading jQuery.

Thanks!

This discussion has been closed.