yajra datatable as a livewire component not working #3102
Replies: 1 comment
-
On drawCallback, include function(settings) {
if (window.livewire) {
window.livewire.rescan();
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've tested using below syntax at datatable controller with drawCallback.
return Livewire::mount('resend', ['email' => $row->email])->html();
The livewire working, but my livewire component has a listener, when emit from blade, it will call the listener multiple time with the number of records display.
eg: If have 3 records, click either one of the record, it will fire 3 times.
Beta Was this translation helpful? Give feedback.
All reactions