datatable print not working chrome 61 version
datatable print not working chrome 61 version
SriRishitha
Posts: 42Questions: 4Answers: 0
datatable print not working chrome 61 version it working 60 version
This question has accepted answers - jump to:
This discussion has been closed.
Answers
This example appears to work okay for me in Chrome 61.0.03163.100 / Mac.
Allan
when we click on print for first time it is working perfectly but second time it is not working.
when come from print tab to our table url and go to print tab it is working other wise it is not working(means tab chaning) in windows
When you say not working, do you mean the automatic print dialogue? That appears to be happening for me as well - the table is shown ready to print, but the dialogue isn't shown.
That very much looks like a Chrome error to me.
It might be worth trying to set the timeout to be 2000 and see if that helps, but I doubt it since it is already high.
Allan
it is not working for me, when i am using buttons.print.js instead of buttons.print.min.js column names also not printing
when we comment on settimeout in button.print.js it is working.
but table border not coming.
and how to comment settimeout button.print.min.js ?
You'd need to recompile the minification. Closure Compiler is what I normally use, although you could pass it through UglifyJS or whatever else you want.
Allan
Try this solution: found this thread
I've got the same problem, even on the example page. The print dialog only shows up on the first attempt. If I try a second time, I need to click off that tab and click back for it to work.
I also have the same issue in that in Chrome the print dialog only appears once. jvcunha's solution works for Chrome but with IE I get spurious html tags in the printout.