Reputation: 853
I am using jspdf-autotable for generating pdf report. I want the header text will only be shown for the first page but not working when setting this option showHead: 'firstPage'
For example: Here is a jsfiddle
Can anyone help me?
Upvotes: 0
Views: 1857
Reputation: 8151
The showHead option is for the table header and will not affect the hooks. If you want to have the same behavior for the hooks you can check the data parameter data.pageNumber
and conditionally draw your content base on it.
Upvotes: 2