dhtmllgrid printview



Can I concatenate the printview of multiple grids into one as one below the other ?

How do I fire window.print() immediately after opening that view?

of multiple grids into one as one below the other
There is no “legal” way, but next trick can be used
grid1.parentGrid=true;
var html=grid1.printView(); //when parentGrid flag is set, printView method will return HTML code of view
delete grid1.parentGrid;

grid2.printView(html,"")

>>How do I fire window.print() immediately after opening that view?
Can’t be done without code modification, you may add
d.print();
at end of printView method in dhtmlxgrid_nxml.js