The title pretty much says it all - I'd like to add a couple of fab buttons to the table footer (with which I plan to CRUD records in the table). Ideally I'd like to move the Rows per page and pagination to the left, and add my buttons in on the right, but at this point I'm willing to settle for adding my buttons on the left.
I looked at the documentation on data table slots, and I thought that body.append or footer might do it, but couldn't figure out how to translate them into my project, as they don't provide any mark up in the API section (only javascript objects) and none of the examples below the API section has what I'm looking for either.
Here's the code I'm currently using, in case it helps:
<v-data-table
v-model="selected"
item-key="id"
class="elevation-1"
:headers="headers"
:items="items"
:search="search"
:sort-by="['expiry.millis', 'label']"
:sort-desc="[false, true]"
multi-sort
show-select
>
<template v-slot:top>
<v-toolbar flat color="white">
<v-toolbar-title>Inventory</v-toolbar-title>
<div class="flex-grow-1"></div>
<v-text-field v-model="search" append-icon="mdi-magnify" label="Search" hide-details class="half-width"></v-text-field>
<div class="flex-grow-1"></div>
<v-btn color="error" small fab dark v-if="selected.length > 0"><v-icon>mdi-delete-outline</v-icon></v-btn>
<v-btn color="deep-purple accent-4" small fab dark class="ml-1"><v-icon>mdi-plus</v-icon></v-btn>
</v-toolbar>
</template>
<template v-slot:item.expiry="{ item }">
{{ item.expiry.until }}
<v-icon :title="item.expiry.date.format('DD/MM/YYYY')">mdi-information-outline</v-icon>
</template>
</v-data-table>
As you can see I currently have my buttons in the toolbar, along with the table name and a search bar.
I'm using Vuetify: 2.0.0. Let me know if I need to include any other information and I'll gladly update my question.