I am using the following configuration, but I don't see any way to repeat the columns header on each page.
let pdfExportProperties = {
fileName: this.props.fileName + '.pdf' || 'pivot_table.pdf',
pageOrientation: 'Landscape',
header: {
fromTop: 0,
height: 20,
contents: [
{
type: 'Text',
value: (this.props.pdfTitle || 'Pivot Table') + moment(new Date()).format('DD-MM-YYYY HH:mm:ss'),
position: {x: 0, y: 0},
style: {textBrushColor: '#000000', fontSize: 15, dashStyle: 'Solid', hAlign: 'Center'},
},
],
},
footer: {
fromBottom: 0,
height: 20,
contents: [
{
type: 'PageNumber',
pageNumberType: 'Arabic',
format: '{$current} of {$total}',
position: {x: 0, y: 0},
style: {textBrushColor: '#02007a', fontSize: 13},
},
],
},
}
this.pivotObj.pdfExport(pdfExportProperties)