Here's a table I have:
<table id="tbl">
<thead>
<tr>
<th>Name</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td class="left-align">Name</th>
<td class="right-align bold">Amount</th>
</tr>
</tbody>
</table>
Below is how I am using jspdf:
doc.autoTable({
startY:30,
html: '#tbl',
});
I would like to customize the formatting of rows based on their class, making them bold and aligned accordingly when saving the JSPDF output.