Hi,
I have created a page using dhtmlxLayout object, which includes 3 grids(having data from 3 different sources). Also, the third grid has a subgrid attach to it, which also loads data from another source. Below is the javascript method for dhtmlxLayout and grid functionality.
function loadGrid(){
dhxLayout = new dhtmlXLayoutObject("gridbox", "3E");
mygrid1 = dhxLayout.cells("a");
mygrid2 = dhxLayout.cells("b");
mygrid3 = dhxLayout.cells("c");
mygrid11 = mygrid1.attachGrid();
mygrid21 = mygrid2.attachGrid();
mygrid31 = mygrid3.attachGrid();
mygrid11.loadXML("11.xml");
mygrid21.loadXML("21.xml");
mygrid31.loadXML("31.xml");
mygrid31.attachEvent("onSubGridCreated",function(subgrid){
subgrid.loadXML("311.xml");
});
I am able to display data from different sources on the jsp page, however I am having an issue to export the data, from all the grids on the jsp page to a single pdf. My jsp code for exporting the data from mygrid11 to pdf works fine, i.e.
I would like to know is there any way to include the data from other two grids, i.e. mygrid21 & mygrid31, along with mgrid11 data to a single pdf.
Thanks in advance.
Thanks,
Steve