Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add endless-scroll in table body element #54

Open
ankurrai2602 opened this issue Oct 7, 2016 · 0 comments
Open

How to add endless-scroll in table body element #54

ankurrai2602 opened this issue Oct 7, 2016 · 0 comments

Comments

@ankurrai2602
Copy link

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;
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant