Child row lose event attached when redrawn

Child row lose event attached when redrawn

nywoozeernywoozeer Posts: 5Questions: 2Answers: 0

Hello, is there any chance you could help me figure out an effective way to attach event on my child rows plz. The issue i am having is, when a "createdRow" is being called, there are no event attached to taht row. If i attach the event there (in "createdRow" call back), it will call the call back when datatable is initialise. Is that the right way to do this?

Thank you for your time reading

Answers

  • nywoozeernywoozeer Posts: 5Questions: 2Answers: 0

    Got my answer thks,
    Just came back to share that:
    the .live() method is deprecated. Use .on() to attach event handlers

This discussion has been closed.