Fancybox stops working after the entry amount is changed.

Fancybox stops working after the entry amount is changed.

gbrokegbroke Posts: 7Questions: 0Answers: 0
edited April 2012 in DataTables 1.9
Hi folks,

One of my columns renders thumbnail images with fancybox using fnRowCallback function.
The fancybox works fine when the thumbnails are clicked, but once I change the entry amount using the drop down menu, the fancybox stops working.
So, I was wondering if there is an event that fires when the entry drop down menu is changed. I'm thinking I can probably just re-initialise my fancy box function. I can post code if needed.

edit: I do not get any errors in firebug.

Any help is appreciated.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    I think that this FAQ is relevant, although the wording is slightly off from what you are seeing, the basic cause is the same: http://datatables.net/faqs#events - i.e. the DOM events are being removed / lost. Use Visual Event to see that. So you need to readd your event listeners, or use live/delegate events.

    Allan
This discussion has been closed.