Update calculateCellValue to calculate-display-value in multiple files

This commit is contained in:
Dede Fuji Abdul
2024-03-29 22:54:58 +07:00
parent 838c33a0eb
commit ecd685227d
45 changed files with 437 additions and 168 deletions

View File

@ -47,7 +47,7 @@
css-class="custom-table-column"
:width="50"
alignment="center"
:calculateCellValue="(item: any) => data.findIndex((i) => i == item) + 1"
:calculate-display-value="(item: any) => data.findIndex((i) => i == item) + 1"
data-type="number"
caption="No"
cell-template="formatNumber"
@ -613,7 +613,7 @@
css-class="custom-table-column"
:width="50"
alignment="center"
:calculateCellValue="(item: any) => dataSub.findIndex((i: any) => i == item) + 1"
:calculate-display-value="(item: any) => dataSub.findIndex((i: any) => i == item) + 1"
data-type="number"
caption="No"
cell-template="formatNumber"