Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82131

Datatable Column Sorting breaking ColourBox

$
0
0
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??

Viewing all articles
Browse latest Browse all 82131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>