Try in Editor:
https://codepen.io/jemirisselvi/pen/yLBXoxK?editors=1010
Vue:
<div id="app">
<v-app id="inspire">
<div>
<v-data-table
:headers="headers"
:items="items"
:loading="isLoading"
class="elevation-1"
>
<template slot="items" slot-scope"myprops">
<td v-for="header in headers">
{{ myprops.item[header.value] }}
</td>
</template>
</v-data-table>
</div>
</v-app>
</div>
https://codepen.io/jemirisselvi/pen/yLBXoxK?editors=1010
Vue:
<div id="app">
<v-app id="inspire">
<div>
<v-data-table
:headers="headers"
:items="items"
:loading="isLoading"
class="elevation-1"
>
<template slot="items" slot-scope"myprops">
<td v-for="header in headers">
{{ myprops.item[header.value] }}
</td>
</template>
</v-data-table>
</div>
</v-app>
</div>
Comments
Post a Comment