Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

problem exporting cubegrid to pdf

$
0
0
SmartClient v90p_2013-12-19
Chrome 30

I'm trying to export a cubegrid to a pdf file using the following code where report is the cubegrid (cubegrid.jpg). When I attempt it, the browser pops up a new window with the text //isc_RPCResponseStart in a little box about halfway down the window (pdfexport.jpg). There is no network traffic and no console errors. How can I get this to work?

Thanks

Code:

                isc.DefaultButton.create({
                    ID : "mPDFButton",
                    title:"exportPDF", 
                    prompt:"exportPDF",
                    click:function () {
                          var settings = {
                        skinName: "Enterprise",
                        printForExport: true,
                        pdfName: "export"// without .pdf
                        };
                          isc.RPCManager.exportContent(report, settings);
                    }
                });


Attached Images
File Type: jpg cubegrid.jpg (78.9 KB)
File Type: jpg pdfexport.jpg (22.6 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles