Block scroll to top

Block scroll to top

thefouinethefouine Posts: 2Questions: 0Answers: 0
edited May 2011 in General
Hello everybody,

I need to block a function of Datatables, when i delete a row or add a row, the table scroll directly to top, when we have 250 lines, it's very annoying.

Is it possible to block this scroll function or put a hack or something ?

Thanks everybody for your help.

Best regards.

Replies

  • DrakoDrako Posts: 73Questions: 0Answers: 0
    I use the scrollTo plugin

    $('.dataTables_scrollBody').scrollTo($(this));
  • thefouinethefouine Posts: 2Questions: 0Answers: 0
    Thanks for the answer Drako.

    Isn't possible to just block/remove this function from datatables ?
This discussion has been closed.