I am using jsPDF with addHtml option below is the code snippet,
var data = document.getElementById(\'datatoconvert\'); window.scrollTo(0, 0); var pdf = new