-1
Hello, everybody!
I use Datatables for Yajra’s Laravel, and I need to adapt it to accessibility.
Unfortunately, I am unable to insert title in the Button::make or pagination links.
Regarding Button::make, I tried to insert the title, as it is done in Column::make, however, it didn’t work... Already pagination, I can’t imagine how could insert the title.
Any idea how to do that? From now on I thank you all!
Like it’s done on the Column:
Column::make('descricao')->title('Descrição')
Like I tried to do with Button:
public function html()
{
return $this->builder()
->setTableId('data-table')
->columns($this->getColumns())
->minifiedAjax()
->dom('Bfrtip')
->orderBy(1, 'desc')
->buttons(
Button::make('postExcel')->text('<i class="fa fa-download" aria-hidden="true"></i> Excel')->title('Download planilha Excel'),
Button::make('postCsv')->text('<i class="fa fa-download" aria-hidden="true"></i> CSV'),
Button::make('reset')->text('Limpar'),
)
->parameters([
"language" => [ 'url' => asset('/portuguese-brasil.json')]
]);
}
- Button::make('postExcel')->text(' Excel')->title('Download Excel spreadsheet'),
- PHP Version: 7.4.3
- Laravel Version: 6.18.14
- Laravel-Datatables Version: 1.5.0
- Used Service Implementations of the Yajra Laravel Datatables