laravel-livewire-tables icon indicating copy to clipboard operation
laravel-livewire-tables copied to clipboard

How to capture selected value from outside component?

Open ranidentity opened this issue 4 years ago • 1 comments

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

ranidentity avatar Jan 27 '21 11:01 ranidentity

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]); }

hemant17 avatar Mar 13 '21 17:03 hemant17