Has anyone successfully used JsPdf with a slickgrid on a webpage? I am currently using their HTML renderer, but I know it's still in early stages. I have added the HTML2Canvas cdn, but I'm unsure how to implement it. Here is my Fiddle
$(document).ready(function () {
var doc = new jsPDF();
var specialElementHandlers = {
'#editor': function (element, renderer) {
return true;
}
};
$('#cmd').click(function () {
doc.fromHTML($('#entirecontent').get(0), 15, 15, {
'width': 200,
'elementHandlers': specialElementHandlers
});
doc.save('sample-file.pdf');
});
});