Hi friends,
I created one custom button on dashboard ribbon, client requirement: user will come and select any dashboard(ex: sales dashboard, sales activity dashboard, etc) and user click on the custom button, then that particular dashboard should be converted into pdf and attach that pdf in desktop outlook application. I tried using jsPDF and I tried passing dashboard div ids in the code, but it is generation empty PDF. Any suggestions?
Thanks,
Bharath
code
===================================
function printPdf(){
var doc = new jsPDF();
doc.fromHTML(document.getElementById('mainTable'), 15, 15, {
'width': 170
});
doc.save('Test.pdf');
}
with the help of this code, it is generating empty pdf file. I added jquery library and JSPDF library as well in my button command.
*This post is locked for comments