Datatable Column Sorting breaking ColourBox

Datatable Column Sorting breaking ColourBox

SQLGuruSQLGuru Posts: 14Questions: 2Answers: 0
edited January 2013 in General
I have implemented ColorBox along side jquery datatables.

I have a problem though. Everything works 100% in that when the user clicks the a specific link in the datatable, an iframe pops-up and the user is displayed an input form. My problem is that if the user re-sorts any column (provided there are more than 10 records) in the datatable, when the link is then clicked, the input form appears in a new tab and not in the colorbox popup.

I contacted the developer of colorbox and he replied saying he was unsure possibly "datatables plugin isn't moving the actual elements around in the DOM, but is re-creating them. This would cause them to lose things like bound data and event listeners, which colorbox relies on"

Is this possibly what is happening??
This discussion has been closed.