Hey there, I'm currently working with an AngularJS ng-grid and I'm facing a challenge.
I've been looking for a way to use jsPDF to render it as a PDF. While I've had success rendering PDFs of simple text and complicated SVGs through their URI, I've encountered difficulties when trying to create an image from the ng-grid. Additionally, using the jsPDF plugin for fromHtml seems to strip away all the CSS, even if I add it back in explicitly.
Any ideas on how to tackle this issue?
Here are a few related posts that might be helpful:
Export HTML table to pdf using jspdf Export HTML table to pdf using jspdfI attempted to follow the approach mentioned in the second post, but since angularJS structures tables differently than standard tr and td elements (using a lot of divs with CSS instead), I ended up with all my data displayed in a long list.