printView() + Printer Dialog

Is there a way to call printView() and then have the printer dialog launch via JavaScript?



Thanks,

James

Only by code modification, you can locate next line in dhtmlxgrid_nxml.js

d.document.close();

and replace it with

d.document.close();
d.print();


Thanks kindly.  That worked great.



I also added:  d.close(); after that line so that the new window automatically closes after it prints.