Closed jynxy closed 7 months ago
skill issues
You need to rescan the livewire component via draw.dt
event. See https://github.com/yajra/laravel-datatables-html/blob/master/src/Html/Options/HasCallbacks.php#L48
https://yajrabox.com/docs/laravel-datatables/10.0/html-builder-callbacks#main-content
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Hi,
Trying to get Datatables and livewire to co-operate, seems i can only get one or the other working. Narrowed it down to the render function of the component
I have taken a working livewire post page and trying to add datatable to get things started.
the above works fine, if i change the render to
i get a cannot reinitialise and "Method Illuminate\Http\JsonResponse::with does not exist.",
any ideas on how to fix this ? or a working demo somewhere that i can utilise the code.
Thanks