Skip to content

Commit

Permalink
add paginator to eval table
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnth committed Oct 21, 2024
1 parent 1f89889 commit cc7e7ed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useCustomFetch } from "@/composables/useCustomFetch";
import type { DynamicDialogInstance } from "primevue/dynamicdialogoptions";
import InputText from "primevue/inputtext";
import {FilterMatchMode} from "@primevue/core/api";
import DataTable from "primevue/datatable";
const dialogRef: Ref<DynamicDialogInstance> | undefined = inject("dialogRef");
Expand Down Expand Up @@ -110,7 +111,7 @@ const exportCSV = () => {
</template>
</StatsCard>
</div>
<DataTable ref="dt" :value="data.details" v-model:filters="filters">
<DataTable ref="dt" :value="data.details" v-model:filters="filters" :paginator="true" :rows="10" :rows-per-page-options="[5, 10, 20, 50]">
<template #header>
<div class="flex flex-wrap items-center justify-between gap-2">
<IconField>
Expand Down

0 comments on commit cc7e7ed

Please sign in to comment.