Clearing, adding, drawing scrolls to table

Clearing, adding, drawing scrolls to table

BluestoneBluestone Posts: 9Questions: 3Answers: 0

I decided to use HTML5's SSE so I used this instead of ajax

table.clear().rows.add(obj.data, false).draw(false);

It loads it fine and doesn't lose pagination, however it keeps scrolling the page to the table. Any idea how to prevent this?

Answers

  • BluestoneBluestone Posts: 9Questions: 3Answers: 0

    I noticed it keeps scrolling to the table only after I switch to another page.

This discussion has been closed.