Posted 2 July 2022, 11:33 am EST
I’d like to be able to render a QR code using an itemformatter for a cell when I’m exporting it to PDF.
I’m able to do this with a hidden element, where I set the value, grab the resulting dataUrl() from the component, and then draw that data onto the pdf with canvas.openImage, but this seems a bit clumsy.
Is there any library function / sequence of functions I can call that will transform a string into the dataUrl of the qr code for that string without passing it through a hidden component?