Buttons do not show on bootstrap4
Buttons do not show on bootstrap4
![sanchezfabio08](https://secure.gravatar.com/avatar/c74fcbc852aa15ccd348cdb1cfdc4f43/?default=https%3A%2F%2Fvanillicon.com%2Fc74fcbc852aa15ccd348cdb1cfdc4f43_200.png&rating=g&size=120)
What can I be doing wrong?
Could you explain this function better?
.appendTo ($ ('# table_id_wrapper .col-md-6: eq (0)', table.table (). container ())); ?
var table = $('#table_id').DataTable( {
scrollY: "645px",
scrollX: true,
scrollCollapse: true,
paging: false,
fixedColumns: {
heightMatch: 'auto'
},
language: {
"url": "plugins/datatables/plugins/Portuguese-Brasil.json"
},
lengthChange: false,
buttons: [ 'copy', 'excel', 'pdf', 'colvis' ],
} );
table.buttons().container()
.appendTo( $('#table_id_wrapper .col-md-6:eq(0)', table.table().container() ) );
} );
This discussion has been closed.
Replies
Please don't post duplicate questions. See the answer in your other thread:
https://datatables.net/forums/discussion/54618/buttons-on-bootstrap4-does-not-show-on-grid#latest
Kevin
Sorry Kevin, Thank you!!!.