I have problem with the buttons. I need to hide all print buttons but it can't. I have tried using javascript $('.dt-buttons')[0].style.visibility = 'hidden'; but it still shown all buttons. I've tried to make button empty but still can't work.
public function html()
{
return $this->builder()
->setTableId('dataTable')
->columns($this->getColumns())
->minifiedAjax()
->dom('Bfrtip')
//what should i put here for hide all print button
->addClass('table-responsive');
}
Remove the button dom?
->dom('frtip')
Thanks! @yajra
Most helpful comment
Remove the button dom?