Table popup-edit and selection
-
I’ve been trying to implement some popup-editing alongside selection functionality, however I can’t get them to line up.
By using the body slot, I lose the ability to show the checkbox, and using the scoped slot doesn’t seem to work.
https://codepen.io/xariusdesai/pen/JjbqWVy?editors=101
Any ideas?
-
@xdesai You can delete:
<template v-slot:body-selection=“scope”>
<q-checkbox v-model=“scope.selected” />
</template>and add the checkbox in body slot - under q-tr
<template v-slot:body="props"> <q-tr :props="props"> <q-td> <q-checkbox v-model="props.selected"/> </q-td> ... </q-tr> </template>
-
Perfect, knew there was something I wasn’t quite understanding