Closed mathieu-dumoutier closed 1 year ago
and demo seems to be broken : https://stackblitz.com/edit/datatables-net-vue3-reactive?file=src%2FApp.vue
Try this one, which is using 2.1.0 of this component: https://stackblitz.com/edit/datatables-net-vue3-reactive-rx2tnv?file=src%2FApp.vue .
Note that it should just be:
onMounted(function () {
dt = table.value.dt;
});
(i.e. don't execute the dt
parameter).
If it isn't working in your application make sure you have the ref="table"
attribute in your <DataTable>
tag.
Yes, it's work with dt and not dt() ! Thank you!
So this article https://datatables.net/blog/2022-06-22-vue is obsolete
Yes, that's wrong. I'll update it :)
Hi!
With version 2.1.0 when I follow this article : https://datatables.net/blog/2022-06-22-vue, I get a "table.value.dt is not a function" error when I try to use API.
It's work with 2.0.0