Slot item data-table #13958
Unanswered
rayrdguezo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, have you managed to pass from a parent component to a child (which has a data table and a slot for a column)?
I explain:
Parent.vue has Child.vue inside and the latter has a datatable in its template.
What I want is from Parent.vue to pass to Child.vue a slot to put it in a column of the datatable?
I want to pass this from Parent.vue to a data-table that is in Child.vue
template v-slot: item.habilitated="{item}"
v-icon class="center" : color="item.enabled? 'primary': 'undefined'"
{{item.enabled? 'mdi-checkbox-marked-outline': 'mdi-checkbox-blank-outline'}}
v-icon
template
Beta Was this translation helpful? Give feedback.
All reactions