Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
147470 | Sep 11,2019 06:42 PM UTC | Sep 12,2019 11:20 AM UTC | ASP.NET Core - EJ 2 | 1 |
![]() |
Tags: ComboBox |
var isInitial = false;
function onOpen(args) {
if (!this.isInitial) {
var start = 11;
var end = 20;
var instance = document.getElementById("customers").ej2_instances[0];
var listElement = instance.popupObj.element.firstChild;
listElement.addEventListener('scroll', () => {
if ((listElement.scrollTop + listElement.offsetHeight >= listElement.scrollHeight)) {
var filterQuery = this.query.clone();
this.dataSource.executeQuery(filterQuery.range(start, end)).then((event) => {
start = end;
end += 5;
instance.addItem(event.result);
}).catch((e) => {
});
}
})
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.