Add DxGrouping component and update DxColumn properties

This commit is contained in:
Dede Fuji Abdul
2024-03-15 09:55:13 +07:00
parent da05b43d3c
commit 42d77157be
3 changed files with 18 additions and 11 deletions

View File

@@ -549,7 +549,7 @@
<div class="p-4 bg-white rounded-xl lg:mr-4">
<DxDataGrid
class="max-h-[calc(100vh-140px)]"
:data-source="data"
:data-source="dataSub"
:show-column-lines="true"
:show-row-lines="false"
:show-borders="true"
@@ -590,9 +590,7 @@
css-class="custom-table-column"
:width="50"
alignment="center"
:calculateCellValue="
(item: any) => dummyData.gangguan.rekap.detailGangguan.findIndex((i) => i == item) + 1
"
:calculateCellValue="(item: any) => dataSub.findIndex((i) => i == item) + 1"
data-type="number"
caption="No"
cell-template="formatNumber"
@@ -968,7 +966,7 @@ const filterData = (params: any) => {
}
const getDetail = () => {
dataSub.value = dummyData.keluhan.rekap.rekapitulasiKeluhanPerUnit
// dataSub.value = dummyData.keluhan.rekap.rekapitulasiKeluhanPerUnit
}
const showDialogDataSelected = () => {