Vuetify Datatable - Enable content editing on all columns

后端 未结 1 1140
花落未央
花落未央 2021-01-13 01:40

I have a datatable with hundreds of columns (and rows) and I want all of them to be edittable. The Vuetify example on https://vuetifyjs.com/en/components/data-tables (sectio

1条回答
  •  太阳男子
    2021-01-13 01:54

    AFAIK, there's no way to make all header fields editable by default, but you could customize the body template, and dynamically render the data using v-for and the v-edit-dialog for each item. For example...

               
    

    Codeply

    0 讨论(0)
提交回复
热议问题