Dash Plotly web app to PDF

Hi guys, I have developed a simple dash app that uses dash ag-grid that helps with calculations. What is the best way to export the app into a PDF? If possible I would like to avoid just using the default print function and be able to select what html.divs to export into PDF. I have explored some of the methods that were posted here a few years ago but they do not seem to work. I’ve added a screenshot of one of the grids I would like to export into a pdf.


Any help would be greatly appreciated.

Thanks :slight_smile:

Hey @Ash_Nathan you would like to “print” images of the grid into PDF? Or do you want to extract the data into a PDF?

Ideally I would like to extract the data into a pdf while still keeping the formatting consistent, but also printing the images of the grid into a PDF would also work.

Did you try this one: Printing | Dash for Python Documentation | Plotly

I think you can use Print Button then export it to pdf

1 Like