Replies: 1 comment
-
Hello,you can use "item.isPublic" slot of v-data-table to get caculated value. Like this: <template v-slot:item.isPublic="{ item, value }">
<td>{{ value ? 'public' : 'private' }}</td>
</template> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use calculated values in the header.value of the v-data-table component.
Specifically, I want to convert Boolean values to String as follows.
↓ Rendering
Beta Was this translation helpful? Give feedback.
All reactions