I am trying to capture an image of the table using JSPDF. I am adding a footer and header in each row. My issue is page split is not proper. The last row of each page is not