We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
here is ny code ` <template #item.actions="{ item }"> <v-icon small class="mr-2" @click="editItem(item)" > mdi-pencil <v-icon small @click="deleteItem(item)" > mdi-delete
` and the datable is missing
The text was updated successfully, but these errors were encountered:
No branches or pull requests
here is ny code
<script> import { ref } from 'vue'; export default { setup() { const headers = ref([ { text: 'My Path', value: 'path' }, { text: 'Permission', value: 'permission' }, { text: 'Rules', value: 'rules' }, { text: 'Actions', value: 'actions', sortable: false } ]); const items = ref([ { path: '/home', permission: 'read', rules: 'none' }, { path: '/settings', permission: 'write', rules: 'admin' } ]); const editItem = (item) => { console.log('Edit item:', item); }; const deleteItem = (item) => { console.log('Delete item:', item); }; return { headers, items, editItem, deleteItem }; } }; </script> <style scoped> /* Add your styles here */ </style>`
<template #item.actions="{ item }">
<v-icon
small
class="mr-2"
@click="editItem(item)"
>
mdi-pencil
<v-icon
small
@click="deleteItem(item)"
>
mdi-delete
`
and the datable is missing
The text was updated successfully, but these errors were encountered: