Posted 12 July 2023, 10:28 pm EST
I am exporting pdf using your PDFExport function.
In the 3rd parameter, I can have a callback which I am writing like this.
const result = await PdfExport.exportDocument(reportDocument, pdfSettings, (pageNumber) => updateProcessingState(pageNumber));
I want to have the total number of pages as well so I can write like “Processing 2 of 4 results”
Any way around?
Thanks