How to capture selected value from outside component?
Opened this issue · 1 comments
ranidentity commented
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
hemant17 commented
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]); }