Answers for "laravel datatable add checkbox"

PHP
1

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'],
Posted by: Guest on June-23-2020

Code answers related to "laravel datatable add checkbox"

Browse Popular Code Answers by Language