I have a Vue web app that has a table of data(reports). If any row of this table is clicked, a modal/dialog comes up showing the content of the report that was clicked. The report content has 3 different sections the user can toggle between and click "Export" button which should generate a pdf of that report content that the user is viewing.
I know this can be done with pdfkit or some other tool but the challenge is those require a route/path to which the it will create the pdf. Example for pdf kit will be:
pdfkit.from_url('[login to view URL]', '[login to view URL]')
I can't use this for my project because i can only get the route to where the tables of reports are but not the dialog. The dialog doesn't have a route. How can i generate a pdf for the content of the dialog. Example:
user goes to: [login to view URL]
The user sees a table of report and click any row and a dialog comes up with the content of that report. The user's url is still [login to view URL] So how can i generate the pdf for the content of the Modal
6 freelancere byder i gennemsnit $58 på dette job
HI We can send the modal's HTML and styling back to the server via JS and create PDF in the server .. I can give it a shot if you give me your site name. You can pay if I am able to solve. Thanks