with out closing the datatable print window, remaining functionality not working.
with out closing the datatable print window, remaining functionality not working.
SriRishitha
Posts: 42Questions: 4Answers: 0
with out closing the datatable print window, when i click on export to pdf or excel it not working
This discussion has been closed.
Replies
discussion closed
Did you resolve the issue?
Allan
No, i set autoprint true the problem is resolved but it is not showing the print preview.
Does that happen for you in this example? What browser and platform are you using?
Allan
browser chrome (61) , i am using in mvc(.net)
when i click on export to pdf or excel it is not working
In the example I linked to? Or in your local test case?
Allan
https://datatables.net/extensions/buttons/examples/print/simple.html
in this example no export option you will try an example with print and export.
https://datatables.net/extensions/buttons/examples/initialisation/export
i checked this example with out closing the print widow click on pdf or excel button it is not downloading the file(pdf/excel). when i close on print window it will downloding immediately.
Thanks for the extra guidance on how to recreate the issue.
Yes, I can see that behaviour as well. Frankly I had no idea how to address that - I suspect it is related to Chrome specifically. Firefox doesn't appear to have that issue.
Allan
Hi Allan,
I'm having this same problem with Chrome (Version 61.0.3163.100 (Official Version) 64 bit). It opens new tab but does not display the print preview, even setting autoPrint: true
Firefox, Safari, Edge and IE are ok apparently.
Did you find out anything?
Thank you very much
No - it looks very much like an error in Chrome 61. I haven't had a chance to create a simple test case and submit it as a bug report yet.
Allan