-
-
Notifications
You must be signed in to change notification settings - Fork 615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content before autotable #2
Comments
Btw, thanks for your library. |
What I did was to increase the top margin a bit and then write a title with the native jsPDF api. There is an example on how to do this in You might find support for this limited right now though. It is very much something I'm working on improving though! |
Thank for the advice. Another thing I realized is the support of unicode symbols inside a jsPDF doc. |
No that is true, the issue can be tracked here . Swedish and German characters such as åäö seem to work fine though. |
Better support for this was released in version 1.0. An example "With content" also exist in |
Hi Simon , How to add two sentences in pageBeforeContent ? |
Not sure what you mean. If you have a question about how to do something with the plugin it would be easier if you created a question on stackoverflow with more information. I actively monitor the |
beforePageContent: function(data) { |
Aha! Make sure you use the doc.text function correctly. Its signature is like this |
Yes man , You are right . I just Misunderstood that . Thanks Buddy @simonbengtsson |
doc.text(400, 50, "Daily View"); doc.text("Weekly View", 400, doc.autoTable.previous.finalY + 10); |
¿Is there a way to add a title and some text before autotable?
The text was updated successfully, but these errors were encountered: