Reputation: 2494
I'm looking for a way to add a dynamic "Insert Row" icon to a Vuetify data-table, similar to the screenshot below:
Any suggestions on how to implement this?
Upvotes: 2
Views: 781
Reputation: 252
Use template to insert a div that reveals only on hover with a sidebutton on absolute:
<v-data-table>
<template #item="{ item }">
<div class="myBorderBottomBlueClass"> // only reveal on hover
// my icon in absolute position left with @click
</div>
</template>
</v-data-table>
Upvotes: 0