title: How to fit a jspdf autotable in a pdf document?
body: <p>I am trying to fit a table in a pdf using jspdf autotable plugin but for some reason the text in the cells are cutting off. How can i display the entire text in a cell even if the text is long, the cell should wrap the text and display it. How can i achieve that ?</p>
  
  <pre><code>function demoFromHTML(source) {
    var columns = ["PatientNumber", "PatientName", "Prescription", "MobileNumber", "Address", "DatePrescribed"]
  
    // Only pt supported (not mm or in)
    var doc = new jsPDF('p', 'pt');
    doc.autoTable(columns, source);
    doc.save('table.pdf');
  }
  </code></pre>