You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what is the correct way to add endless-scroll in table body element.
i try it using callback but facing many issue.
like calling event when scroll up
$("#indi_screener_detail_rows").unbind('scroll');
$('#bodyElementID').endlessScroll({
fireOnce: false,
fireDelay: 1000,
loader: '',
ceaseFireOnEmpty:false,
insertAfter: '#table tr:last',
callback: function(i,j,k) {
var offset = $('#bodyElementID tr').length;
my_custom_function(true,i);//append row by ajax call in side body
return true;
}
});
The text was updated successfully, but these errors were encountered:
what is the correct way to add endless-scroll in table body element.
i try it using callback but facing many issue.
like calling event when scroll up
$("#indi_screener_detail_rows").unbind('scroll');
$('#bodyElementID').endlessScroll({
fireOnce: false,
fireDelay: 1000,
loader: '',
ceaseFireOnEmpty:false,
insertAfter: '#table tr:last',
callback: function(i,j,k) {
var offset = $('#bodyElementID tr').length;
my_custom_function(true,i);//append row by ajax call in side body
return true;
}
});
The text was updated successfully, but these errors were encountered: