vuetable-2-tutorial icon indicating copy to clipboard operation
vuetable-2-tutorial copied to clipboard

How I can clone row

Open i-ked-ii opened this issue 6 years ago • 1 comments

2018-09-19_12-43-32

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

i-ked-ii avatar Sep 19 '18 05:09 i-ked-ii

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.

ratiw avatar Sep 27 '18 03:09 ratiw