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](https://secure.gravatar.com/avatar/34b996a60bfd43813a276232616910fc/?default=https%3A%2F%2Fvanillicon.com%2F34b996a60bfd43813a276232616910fc_200.png&rating=g&size=120)
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