Hi, I have one datatable pagination i have applied following query to scroll up it is going up but after few seconds again coming down
dt.on('page.dt', function () {
$('html, body').animate({
scrollTop: $(".dataTables_wrapper").offset().top
}, 'fast');
});
this query i m using for scrolling once click on pagination it is going up but again coming down moreover not going complete up some margin left from above in scroll bar