app/DataTables/MascotasDataTable.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([
		                'dnombre',
		                'dapellido',
		                'demail',
		                'dci',
		                'direccion',
		                'dtelefono',
		                'dcelular',
		                'mnombre',
		                'mraza',
		                'mcolor',
		                'mpeso',
		                'codigo',
	                ])
	                ->parameters([
		                'dom' => 'Bfrtip',
		                'buttons' => ['csv', 'excel', 'pdf', 'print', 'reset', 'reload'],
	                ]);
    }
public function html ( ) { return $ this -> builder ( ) -> columns ( [ 'dnombre' , 'dapellido' , 'demail' , 'dci' , 'direccion' , 'dtelefono' , 'dcelular' , 'mnombre' , 'mraza' , 'mcolor' , 'mpeso' , 'codigo' , ] ) -> 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 .
/*
	     * protected $fillable = ['id', 'dnombre', 'dapellido', 'demail', 'dci', 'direccion', 'dtelefono', 'dcelular', 'mnombre'
		, 'mraza', 'mcolor', 'mpeso', 'motros', 'id_codigo'];
	     * */