jsPDF-AutoTable
jsPDF-AutoTable copied to clipboard
html rowspan and colspan issue when printing dynamic tables
Finding and interesting issue I'm hoping someone has a solution for !
So when attempting to print a dynamic nested table ( using colspan and rowspan ) the table seems to print in a funky way
<thead>
<tr>
<th>Untergruppe = Referatsleiter/in oder RL-Stv</th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td rowspan="4">Belastungen durch Arbeitsaufgaben und Tätigkeiten</td>
<td rowspan="2">Ganzheitlichkeit</td>
<td rowspan="2">1,63</td>
<td>Bei meiner Arbeit sehe ich selber am Ergebnis, ob meine Arbeit gut war, oder nicht.</td>
<td>1,75</td>
</tr>
<tr>
<td>BMeine Arbeit ist so gestaltet, dass ich die Möglichkeit habe, ein vollständiges Arbeitsprodukt/ eine vollständige Arbeitsaufgabe von Anfang bis Ende herzustellen.</td>
<td>1,50</td>
</tr>
<tr>
<td rowspan="2">Ganzheitlichkeit</td>
<td rowspan="2">1,63</td>
<td>Bei meiner Arbeit sehe ich selber am Ergebnis, ob meine Arbeit gut war, oder nicht.</td>
<td>1,75</td>
</tr>
<tr>
<td>BMeine Arbeit ist so gestaltet, dass ich die Möglichkeit habe, ein vollständiges Arbeitsprodukt/ eine vollständige Arbeitsaufgabe von Anfang bis Ende herzustellen.</td>
<td>1,50</td>
</tr>
</tbody>
</table>
is the html code being displayed in the first image, then what is printed in the second !
Thank you for this amazing package, lifesaver
what is shown in the browser

What is printed

Excited for the pr mentioned in #427!