Open jorwan opened 7 years ago
Hi, thanks for this great component
I would like to empty vuetable on response with errors as 404, or 500, etc
And for any other case, i would like to know how to empty/clear the vuetable rows ?
Thanks
Use v-ref to create a reference to your vuetable, then set the tableData to empty array [], like so
v-ref
tableData
[]
<vuetable v-ref="vuetable"></vuetable>
this.$refs.vuetable.tableData = []
Hi, thanks for this great component
I would like to empty vuetable on response with errors as 404, or 500, etc
And for any other case, i would like to know how to empty/clear the vuetable rows ?
Thanks