add checkbox in server side datatable laravel code example
Example: add checkbox in server side datatable laravel
->editColumn('select_orders', static function ($row) {
return '<input type="checkbox" name="registrations[]"
value="'.$row->id.'"/>';
})->rawColumns(['select_orders'])
Inside Config/datatables.php
'raw' => ['action', 'checkbox'],