avoid scrolling the table scroll.
avoid scrolling the table scroll.
arcanisgk
Posts: 41Questions: 12Answers: 0
after solving this:
https://datatables.net/forums/discussion/68707/strange-behavior-when-using-draw-or-columns-adjust
i am implementing:
.cell($taget).invalidate().draw();
.columns.adjust();
I have noticed that the table scrolls. automatically up, I have the property
"scrollY": "300px"
By using the aforementioned methods, can I prevent the table scrolling from being reset?
This question has an accepted answers - jump to answer
Answers
Try passing false in the
.draw()
call, like this:See the
draw()
docs for more details.Kevin