Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

threefifty's avatar

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.

0 likes
0 replies

Please or to participate in this conversation.