update header

This commit is contained in:
Hanan Askarim
2024-08-20 11:32:21 +07:00
parent 4d8012a10a
commit 119e434e3a

View File

@@ -15,6 +15,16 @@
</v-toolbar>
</template>
<template v-slot:headers="{ columns }">
<tr>
<template v-for="column in columns" :key="column.key">
<td :class="column.class" :style="{ width: column.width, textAlign: column.align }">
<span>{{ column.title }}</span>
</td>
</template>
</tr>
</template>
<template v-slot:item="{ item }">
<tr v-bind:class="{'bg-primary-lighten':isSelected(item)}" @click="selectMe(item)">
<td>