app/DataTables/UsersDataTable.php
/**
     * Optional method if you want to use html builder.
     *
     * @return \Yajra\Datatables\Html\Builder
     */
Optional method if you want to use html builder.
@return \Yajra\Datatables\Html\Builder
Optional method if you want to use html builder . @return \ Yajra \ Datatables \ Html \ Builder
public function html()
    {
	    return $this->builder()
	                ->columns([
		                'name',
		                'ap_patern',
		                'ap_mother',
		                'ci',
		                'user_type',
	                ])
	                ->parameters([
		                'dom' => 'Bfrtip',
		                'buttons' => ['csv', 'excel', 'pdf', 'print', 'reset', 'reload'],
	                ]);
    }
public function html ( ) { return $ this -> builder ( ) -> columns ( [ 'name' , 'ap_patern' , 'ap_mother' , 'ci' , 'user_type' , ] ) -> parameters ( [ 'dom' => 'Bfrtip' , 'buttons' => [ 'csv' , 'excel' , 'pdf' , 'print' , 'reset' , 'reload' ] , ] ) ; }
Optional method if you want to use html builder.
Optional method if you want to use html builder .
//        return $this->builder() //                    ->columns($this->getColumns()) //                    ->ajax('') //                    ->addAction(['width' => '80px']) //                    ->parameters($this->getBuilderParameters()); //		                'email'