Laravel-datatables: Can't see the buttons CSV PDF etc

Created on 14 Feb 2017  路  7Comments  路  Source: yajra/laravel-datatables

hi @yajra i did what you post in the issue #481

->parameters([
'dom' => 'Bfrtip',
'buttons' => ['csv', 'excel', 'pdf', 'print', 'reset', 'reload'],
]);

but still can not see the Buttons, and also the button of show entries is missing when i put those lines man, how can i fix this problem man? is this working for laravel 5.4?

  • Windows
  • php>7
  • laravel 5.4
  • datatables version 7
javascript question

All 7 comments

Try inspecting the web console first. There must be something wrong with your javascripts.

I dont see any errors at the console man.
console

And here is the code where i put what you said.
return

i solved the problem im closing the issue thank you!

How did you resolved this?

How did you resolved this?

@reiter777 Can you post the solution?

add

<script src="https://cdn.datatables.net/buttons/1.0.3/js/dataTables.buttons.min.js"></script>
<script src="/vendor/datatables/buttons.server-side.js"></script>

then buttom shown

Was this page helpful?
0 / 5 - 0 ratings

Related issues

macnux picture macnux  路  3Comments

shadoWalker89 picture shadoWalker89  路  3Comments

Mopster picture Mopster  路  3Comments

jgatringer picture jgatringer  路  3Comments

vipin733 picture vipin733  路  3Comments