Using Vue-virtual-scroll-grid with axios #69
-
Hey everyone, I've been wanting to use this npm package for one of my projects and it looks great to me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Basically, you need to write a function that accepts a page number and a page size, then uses axios to fetch the items from your backend in a paginated way. Pass this function to the vue-virtual-scroll-grid component as the P.S. If you have further question, please post it in Discussions instead. Issues is not for general "how to" help. |
Beta Was this translation helpful? Give feedback.
Basically, you need to write a function that accepts a page number and a page size, then uses axios to fetch the items from your backend in a paginated way. Pass this function to the vue-virtual-scroll-grid component as the
pageProvider
prop. See the example here.P.S. If you have further question, please post it in Discussions instead. Issues is not for general "how to" help.