Fixed #3540 - DataTable: Paginator should be below DataTable Footer templating

pull/3594/head
Tuğçe Küçükoğlu 2023-01-26 16:22:54 +03:00
parent d900c85670
commit b3dee7e8cc
1 changed files with 3 additions and 3 deletions

View File

@ -176,6 +176,9 @@
</template> </template>
</DTVirtualScroller> </DTVirtualScroller>
</div> </div>
<div v-if="$slots.footer" class="p-datatable-footer">
<slot name="footer"></slot>
</div>
<DTPaginator <DTPaginator
v-if="paginatorBottom" v-if="paginatorBottom"
:rows="d_rows" :rows="d_rows"
@ -196,9 +199,6 @@
<slot name="paginatorend"></slot> <slot name="paginatorend"></slot>
</template> </template>
</DTPaginator> </DTPaginator>
<div v-if="$slots.footer" class="p-datatable-footer">
<slot name="footer"></slot>
</div>
<div ref="resizeHelper" class="p-column-resizer-helper" style="display: none"></div> <div ref="resizeHelper" class="p-column-resizer-helper" style="display: none"></div>
<span v-if="reorderableColumns" ref="reorderIndicatorUp" class="pi pi-arrow-down p-datatable-reorder-indicator-up" style="position: absolute; display: none" /> <span v-if="reorderableColumns" ref="reorderIndicatorUp" class="pi pi-arrow-down p-datatable-reorder-indicator-up" style="position: absolute; display: none" />
<span v-if="reorderableColumns" ref="reorderIndicatorDown" class="pi pi-arrow-up p-datatable-reorder-indicator-down" style="position: absolute; display: none" /> <span v-if="reorderableColumns" ref="reorderIndicatorDown" class="pi pi-arrow-up p-datatable-reorder-indicator-down" style="position: absolute; display: none" />