Apr 29, 2024
0
Level 1
Re initiate datatables on livewire component
I have a datatable built using datatables.net and whenever livewire refreshes the view, the table loses its' functions (pagination,sorting,search) and leaves a regular html like table. How can I fix this? I have tried firing events, destroy the datatable and reinitiate. But no luck so far.
Please or to participate in this conversation.