laravel-livewire-tables
laravel-livewire-tables copied to clipboard
How to capture selected value from outside component?
I am able to create the datatable easily and then my issue is when i select multiple rows through checkbox, i dont know how to create a button (e.g. an Activate button) that can take capture the value of selected rows
you can create it easily an activateChecked button inside a custom $header_view
public function activateChecked() { Indicator_access::whereIn('id', $this->checkbox_values)->update(['indicator_access_status'=> 1]); }