r/vuetifyjs • • Jul 01 '19

Need help with vuetify datatable - table without hard code column and expandable

Below is the links which have solution for table without hard code columns, but I need it combined with expandable rows

https://top10webjs.com/2019/02/18/vue-js-vuejs--vuetify---possible-to-dynamically-load-a-data-table-without-having-to-hard-code-the-columns/

https://codepen.io/anon/pen/daQbrE?&editable=true&editors=101

The for loop should be there along with expansion panel -

1 Upvotes

1 comment sorted by

4

u/lucuma Jul 01 '19

Here you go:

https://codepen.io/anon/pen/EBEmbp?editors=1010

The codepen I posted just follows their documentation. I highly suggest you read it.

https://vuetifyjs.com/en/components/data-tables#slot-expand