src/Table/Table/Datatable.php
public function addDatatableButtonExport($text = 'Export CSV')
    {
        $this->hasToken() ?: $this->generateToken();
        $this->addDatatableButtonLink($text, route('datatable-export', ['token' => $this->getToken()]));
        return $this;
    }
public function addDatatableButtonExport($text = 'Export CSV')
    {
        $this->hasToken() ?: $this->generateToken();
        $this->addDatatableButtonLink($text, route('datatable-export', ['token' => $this->getToken()]));
        return $this;
    }
public function addDatatableButtonExport ( $ text = 'Export CSV' ) { $ this -> hasToken ( ) ? : $ this -> generateToken ( ) ; $ this -> addDatatableButtonLink ( $ text , route ( 'datatable-export' , [ 'token' => $ this -> getToken ( ) ] ) ) ; return $ this ; }
Ajoute un Bouton d'export

@param $text
@param $url
@return $this
Ajoute un Bouton d export