Half the table disappear after removing a row
Half the table disappear after removing a row
Hi !
I use DataTable with the Scroller extension. I wanted to programmatically remove a row, but when I do, after a draw(false), half of the rendering of the table disappears. I have to then scroll up or down until the new rendering, to return to the normal behaviour.
I tried to launch the fnMesure(false) function on Scroller, to scroll down the up programmatically and so on... But none of it works. Of course I would like to keep my scroll position.
Is there any parameter or a function I could launch to avoid the issue ? Am I alone in this case ?
Thank you !
Answers
I solved the problem by removing the TR node out of the DOM without any redraw of the DataTable.
But that remains weird...