Draw event with responsive plugin

Draw event with responsive plugin

sini787sini787 Posts: 1Questions: 1Answers: 0

Hi and thanks for the great software that is DataTables!

I am using my DataTables in a server-side implementation and am listening to the 'draw.dt' event in order to bind an 'onclick' event to the links I am rendering in the last column of my DataTable whenever the table is drawn. This works flawlessly. However, whenever the viewport is diminished in width and the responsive plugin/extension renders the overflowing information in children rows I need to find a way to bind the same event on the links generated in the children rows by the responsive plugin. I can't seem to find an event in the documentation that is fired whenever children rows are created, which would solve my problem.

Do you have any ideas how I could detect the rendering of these children rows so I can bind my event on these new links whenever they are rendered?

This discussion has been closed.