How to add/insert space/new line between Button and Datatable
How to add/insert space/new line between Button and Datatable

Hi,
I have Datatable used in my project. I have one button immediate on top of DataTable. I want to add/insert space/new line between Button and Datatable. How to achieve this in Datatable. Please find my code in below.
var table = $('#dtStudentDetails').DataTable(
{
"stripeClasses": dom: 'Blfrtip',
order: [5, 'desc'],
buttons: {
dom: {
button: {
className: 'btn'
}
},
buttons: [{
extend: 'excel',
footer: 'true',
text: 'Export',
className: 'btn-primary',
exportOptions: {
columns: [1, 2,3]
}
}],
},
'pageLength': 25,
"bLengthChange": false,
deferRender: true,
scrollY: 500,
scrollX: true,
scrollCollapse: true,
scroller: true,
orderCellsTop: true,
fixedHeader: true,
});
});
}
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This discussion has been closed.
Answers
Hi @kamalDev ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin