ratiw / vuetable-2-tutorial

MIT License
258 stars 67 forks source link

How I can clone row #107

Open i-ked-ii opened 5 years ago

i-ked-ii commented 5 years ago

2018-09-19_12-43-32

I want to add row when click button. How I can do this function.

ratiw commented 5 years ago

You'll just have to append a new row to the tableData of Vuetable and it should show up. That means you'll have to make an input form gathering the input data from the user then after validation, you append it to tableData.

  this.$refs.tableData.append(newData)

By the way, you could get my reply faster if you post in Vuetable main repo. I do check that repo regularly.