primefaces / primeng

The Most Complete Angular UI Component Library
https://primeng.org
Other
9.94k stars 4.52k forks source link

Listbox - lazy load data #2270

Open alch3m1st opened 7 years ago

alch3m1st commented 7 years ago

I can't find it on the docs. It would be nice to be added as a feature.

cagataycivici commented 7 years ago

Do you mean loading more on demand via scrolling?

lallenfrancisl commented 3 years ago

This would be great, as when the options list is like 2000 or so it takes very long to load up

yigitfindikli commented 3 years ago

We'll reconsider if there is more community feedback on this. Thank you for your report.

matusko89 commented 3 years ago

I would also love this functionality as I am adding 20k+ items to list box and it takes for ages to dispaly

v360-otavio-sales commented 3 years ago

Would be a nice feature, i'm facing the same problem

gwartnes commented 2 years ago

We'd also like this feature. Another thought is to expose a way to do filtering via a custom lazy event.

pete4dev commented 2 years ago

+1

chillapp commented 1 year ago

+1

dhamzic commented 1 year ago

I'm facing the same problem..

lixaotec commented 9 months ago

+1 there no way to deal with server-side filter on all list components (dropdown, listbox, ... ( kind weird, such essencial behavior , was not predicted.

and its not that hard to accomplish. Some could expose the filter function as an @Input or (more efforts) expose the variable optionsToDisplay,

Does anyone came up with a solution/workaround? ta

naris commented 1 month ago

+1 -- I also need a listbox with a lot of items. It would be really handy if all the list components had the same mechanism for lazy loading that tables have.

hgrullon commented 3 weeks ago

lazy loading does not seem to work, I get the following error when I enable lazy:

TypeError: Cannot read properties of undefined (reading 'emit') at _class_p_scroller_6_Template_p_scroller_onLazyLoad_0_listener (primeng-listbox.mjs:1119:35)