Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Eugene on Jan 13, 2010 17:13
open dhtmlx forum
how to print multiple grids on one page

I'm using pro version 1.5, how do I print multiple grids on one page or get the html returned of printPreview rather then have it open in new window.

Thank you
Answer posted by Stanislav (support) on Jan 14, 2010 02:20
For later versions of grid, next code can be used to get html code of print view

grid.parentGrid  = true;
var html = grid.printView();
grid.parentGrid = null;