Html printed now at pdf. But i have faced another issue is that after loading partial view in pdf css and style are not applying in pdf.
Html are recived from data parameter.
function onSuccess(data) {
try {
var pdf = new jsPDF({
orientation: 'portrait',
format: 'a4'
});
pdf.html(data);
pdf.save('report.pdf');
} catch (e) {
console.error(e);
}
}
Now, i have use this html.

so, after i have set width 100% but pdf not set styling and showing pdf like this:
