DTOptionsBuilder.withButtons() not working, it doesn't shows the button.
See original GitHub issueI’m using the v0.5.1 datatables. I already included in my index.html
<script src="/app/bower_components/datatables/media/js/jquery.dataTables.min.js"></script>
<script src="/app/bower_components/angular-datatables/dist/angular-datatables.min.js"></script>
<script src="/app/bower_components/angular-datatables/dist/plugins/bootstrap/angular-datatables.bootstrap.min.js"></script>
<script src="/app/bower_components/angular-datatables/dist/plugins/buttons/angular-datatables.buttons.js"></script>
<script src="/app/bower_components/angular-datatables/dist/plugins/buttons/angular-datatables.buttons.min.js"></script>
and added the modules 'datatables'
, 'datatables.bootstrap'
, 'datatables.buttons'
in my app.
Based from example of this link angular-datatables/#/withButtons I didn’t get this file vendor/datatables-buttons/js/dataTables.buttons.js
after I updated my bower.
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
The problem was that I needed
bower install datatables.net-buttons-bs
and this was written nowhereDid you add the JS files?