Fixed : b-pagination not working with v-for, only works with b-table
See original GitHub issueb-pagination
or b-pagination-nav
not working with v-for only works with b-table
please give a example b-pagination
or b-pagination-nav
works with
<div v-for="item in items>
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Impossible to build vuejs app - pagination error - Stack Overflow
I'm using this code but it will not work. How I can fix it? HTML for pagination <div class="col-1 text-center p-0 feed ...
Read more >Building Table Sorting and Pagination in Vue.js
External JavaScript I'm just using the sort method of my array with the property being dynamic. The modifier bit just handles reversing the ......
Read more >Table | Components - BootstrapVue
For displaying tabular data, <b-table> supports pagination, filtering, sorting, custom rendering, various style options, events, and asynchronous data.
Read more >Table | Quasar Framework
The QTable Vue component allows you to display data in a tabular manner and it's packed with a lot of related features. It's...
Read more >v-data-table API - Vuetify
Fixed header to top of table. NOTE: Does not work in IE11. #footer-props ... Currently only supports a single grouping in the format:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, the
per-page
only applies to the pagination component. You need to slice your data when presenting it to yourv-for
loop (you are currently giving it the entire list)@tmorehouse Thank you very much i just forgot to use some logics and i did it with
<b-pagination-nav
works fine (actually i want to link routes too ) working code here 👍 for who thinks its hard to implement pagination with router links hereperPage = 2 & number-of-pages=5
(number-of-pages is a computed property ) beacuse i have only 10 items and i want to show it2 / page
so5 * 2 = 10
10 is the total number of items comes from vuex store