sebastienheyd / boilerplate

Laravel AdminLTE 3 Boilerplate package with blade components, users, roles and permissions management
MIT License
219 stars 66 forks source link

Datatables doesn't display buttons #75

Closed cod3rshotout closed 2 years ago

cod3rshotout commented 2 years ago

So I'm trying to display the excel button:

$this->permissions('posts_crud')
->locale([
    'deleteConfirm' => __('boilerplate::posts.list.confirmdelete'),
    'deleteSuccess' => __('boilerplate::posts.list.deletesuccess'),
])->order('created_at', 'desc')
->stateSave()
->buttons(['excel']);

but for some reason it doesn't show, the same for the filters button. Is this a bug or I did something wrong?