Update pagination and allowed page sizes in RGangguan_ALL.vue and add summary and group items in RGangguan_JenisGangguanSE.vue

This commit is contained in:
Dede Fuji Abdul
2024-03-13 00:38:50 +07:00
parent 772f893d83
commit ae33b9b3a6
3 changed files with 204 additions and 42 deletions

View File

@@ -24,10 +24,10 @@
column-resizing-mode="widget"
>
<DxSelection mode="single" />
<DxPaging :page-size="5" :enabled="true" />
<DxPaging :page-size="40" :enabled="true" />
<DxPager
:visible="true"
:allowed-page-sizes="[5, 10, 20]"
:allowed-page-sizes="[20, 40, 60]"
display-mode="full"
:show-page-size-selector="true"
:show-info="true"
@@ -54,6 +54,7 @@
:calculateCellValue="(item: any) => data.findIndex((i) => i == item) + 1"
data-type="number"
caption="No"
cell-template="formatNumber"
/>
<DxColumn
:width="150"
@@ -308,12 +309,6 @@
/>
</DxColumn>
<template #cellCenter="{ data }">
<p class="cursor-pointer" @click="showDialogDataSelected()">
{{ data.text }}
</p>
</template>
<template #formatText="{ data }">
<p class="text-left cursor-pointer" @click="showDialogDataSelected()">
{{ data.text }}