How do I create a spacer to add space before the buttons and after the lengthChange?
How do I create a spacer to add space before the buttons and after the lengthChange?
rimshot609
Posts: 9Questions: 6Answers: 0
How do I create a spacer to add space before the buttons and after the lengthChange in javascript?
$(function () {
$("[id*=tblAccount]").prepend($("<thead></thead>").append($(this).find("tr:first"))).DataTable({
"paging": true,
"lengthChange": true,
"searching": true,
"ordering": true,
"info": true,
"autoWidth": true,
"dom": 'lBfrtip',
"buttons": ['excel', 'print', 'pdfHtml5']
});
})
This discussion has been closed.
Answers
Hi @rimshot609 ,
The best is
dom
, or maybe some CSS styling,Cheers,
Colin