Reputation: 335
Hello how can i catch a scrolling event in jQuery datatable ?
I don't have a "bServerSide"
I have already tried :
$(".dataTables_scrollBody").scroll(function(){
console.log("scroll");
});
$("#idOfMyTable").scroll(function(){
console.log("scroll");
});
How can I accomplish this?
Upvotes: 0
Views: 901
Reputation: 335
$('.dataTables_scrollBody').on( 'scroll', function (e) {
is working, i just don't put it in my document ready...
Upvotes: 1