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
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);
}
});