Update table column names and formatting

This commit is contained in:
rpurnama1409
2024-03-17 22:58:27 +07:00
parent 40052b717c
commit 07cdfa7ec7
4 changed files with 279 additions and 60 deletions

View File

@ -186,7 +186,7 @@
data-type="number"
caption="%"
css-class="custom-table-column"
cell-template="formatNumber"
cell-template="formatPercentage"
/>
</DxColumn>
@ -198,7 +198,7 @@
<template #formatPercentage="{ data }">
<p class="text-right cursor-pointer" @click="showData()">
{{ isNumber(data.text) ? formatPercentage(data.text) : data.text }}
{{ parseFloat(data.text) ? formatPercentage(data.text) : '0%' }}
</p>
</template>