Skip to content

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

@ankurrai2602

Description

@ankurrai2602

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions