We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b714473 commit 8318609Copy full SHA for 8318609
src/components/DataTable.vue
@@ -82,6 +82,18 @@
82
>
83
<slot
84
name="body.prepend"
85
+ v-bind="{
86
+ items = pageItems,
87
+ pagination = {
88
+ isFirstPage,
89
+ isLastPage,
90
+ currentPaginationNumber,
91
+ maxPaginationNumber,
92
+ nextPage,
93
+ prevPage
94
+ },
95
+ headers = headersForRender
96
+ }"
97
/>
98
<template
99
v-for="(item, index) in pageItems"
@@ -145,6 +157,18 @@
145
157
</template>
146
158
147
159
name="body.append"
160
161
162
163
164
165
166
167
168
169
170
171
148
172
149
173
</tbody>
150
174
</table>
0 commit comments