Fixed #419 - DataTable row reorder demo not working
parent
ab589686f1
commit
b1bfa2fcb0
|
@ -57,7 +57,7 @@ export default {
|
||||||
this.$toast.add({severity:'success', summary: 'Column Reordered', life: 3000});
|
this.$toast.add({severity:'success', summary: 'Column Reordered', life: 3000});
|
||||||
},
|
},
|
||||||
onRowReorder(event) {
|
onRowReorder(event) {
|
||||||
this.cars = event.value;
|
this.products = event.value;
|
||||||
this.$toast.add({severity:'success', summary: 'Rows Reordered', life: 3000});
|
this.$toast.add({severity:'success', summary: 'Rows Reordered', life: 3000});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -98,7 +98,7 @@ export default {
|
||||||
this.$toast.add({severity:'success', summary: 'Column Reordered', life: 3000});
|
this.$toast.add({severity:'success', summary: 'Column Reordered', life: 3000});
|
||||||
},
|
},
|
||||||
onRowReorder(event) {
|
onRowReorder(event) {
|
||||||
this.cars = event.value;
|
this.products = event.value;
|
||||||
this.$toast.add({severity:'success', summary: 'Rows Reordered', life: 3000});
|
this.$toast.add({severity:'success', summary: 'Rows Reordered', life: 3000});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue