API child.hide() removes the elements from the DOM instead of hide
API child.hide() removes the elements from the DOM instead of hide
Hello.
The child.hide() is not hiding, it's removing the elements from the DOM, which causes me to loose the access to them.
Here's the example, I have a table inside a child with checkboxes, if i select them and then 'hide' that row, I will lose them, also, if I open again the row, they will not be selected, because they were recreated.

Is there a way for me to just hide(display:hidden) insted of removing the element with this api?
I already saw 2 questions with the same doubt but not resolved. Here's the links:
https://datatables.net/forums/discussion/75410/dont-remove-row-child
https://datatables.net/forums/discussion/38396/child-hide-is-also-removing-element-from-dom
Thanks.
Answers
Calling
row().child.show()should show any existing child rows again without recreating then. The hide API will indeed remove them from the DOM. If you still need a reference to them, store them in a variable after you callopenfor the child rows.Allan