print time not showing
print time not showing
mardoni
Posts: 2Questions: 1Answers: 0
buttons: [
{
extend: "print",
text: '<i class="fas fa-print"></i> Print',
className: "btn btn-success btn-sm",
},
],
Answers
Have you include the JS files and added the 'B' for
dom
? If so, 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
it's not about the button but the print result doesn't show the datetime in the header.
with js
{
dom: "<'row'<'col order-first'l><'col'f><'col order-last'B>>tip",
buttons: [
{
extend: "print",
text: '<i class="fas fa-print"></i> Print',
className: "btn btn-success btn-sm",
},
],
}
but I don't see the time when I print it.
Its hard to say what the problem is without seeing the problem. Please provide a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin