Losing added html to a cell when responsive is clicked
Losing added html to a cell when responsive is clicked

I ajax add comments to my DB when "Add comment" is clicked.
So I just prepend HTML to below the form that adds the comment. Pretty straightforward and works great. My issue is that when the plus/minus of the responsive is clicked. I lose any comments added. Pretty unfortunate, anyone know of why this is happening or the best solution? I'm pretty stuck here. Thanks in advance.
This discussion has been closed.
Answers
How are you generating the child row - is it from Responsive? If so, then its because you haven't updated the row's data with the new comment(s) (
row().data()
).Allan