implement paginated dropdown #2691
Unanswered
HosseinFouladi
asked this question in
PrimeVue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently, I was working with PrimeVue's dropdown, which fetched a list of users from an API as options to display to the user. However, I noticed an issue: there was no mechanism for the component to display paginated data as options(consider, we have 500000 records of data that they are paginated). To solve this problem, I implemented the infinite scroll technique for the dropdown. This way, when the user scrolls to the bottom of the dropdown box, the next page of data is fetched from the server and displayed.
bandicam.2024-09-14.17-53-39-879.mp4
all feedbacks are appricated!
Beta Was this translation helpful? Give feedback.
All reactions