yajra datatables add column checkbox code example
Example: yajra datatables add column checkbox
->editColumn('select_orders', static function ($row) {
return '<input type="checkbox" name="registrations[]" value="'.$row->id.'"/>';
})->rawColumns(['select_orders'])