Hello,
How can I export PDF from DataGrid with multiple line header? So far I tried put '\n' in pdfExportPropoties but it causes an 'Uncaught (in promise) t' error.
let pdfExportProperties = {
pageOrientation: 'Landscape',
header: {
fromTop: 0,
height: 60,
contents: [
{
type: 'Text',
value: 'Line 1' + '\n' + 'Line 2'+ '\n' + 'Line 3',
position: { x: 0, y: 20 },
style: { textBrushColor: '#000000', fontSize: 10, dashStyle: 'Solid', hAlign: 'Center'},
},
]
}
}
Thank you very much,
Ray