Comments (11)
I managed to do it for now, I do encounter another problem though.
When a particular cell data has long string into it, the row height dynamically increases but it then goes out of the page crossing the footer.
Even when the bottom margin is specified, why this happens? Whats the solution?
from jspdf-autotable.
I think the issue you describe is the same as in #53? If so, it is fixed in v2.0 which I will release the coming week. Sorry for the late reply.
from jspdf-autotable.
Well, Yes it looks like the same issue. I will wait for v2.0 then. Will it be backward compatible? Just worried if i have to change my code a lot. I have used it the library at many places.
from jspdf-autotable.
There is no big API changes and your code should probably be fine. It will not be 100% backwards campatible unfortunately however. I have added better styling support which meant that I had to make some changes to the renderCell and renderHeaderCell methods.
from jspdf-autotable.
ohh okay. I guess i would have to change my code then. Anyways will wait for the update, :)
from jspdf-autotable.
Can you provide a quick fix for this. I really need some urgent fix for this issue.
Any alternative, if not the upgrade to 2.0?
from jspdf-autotable.
Trying to find some workaround on this issue. In renderCell i check for autoTableEndPosY and compare it with doc.internal.pageSize.height, if autoTableEndPosY exceeds a specific value i want to change page and move the records from then onwards to new page. I did addPage() , But how do i make it to add next all records to this new page?
from jspdf-autotable.
Unfortunately I can't see a way to do this without modifying the source so that would be your best option for now. If you do fix it, make sure you send a pull request. The 2.0 release got a bit delayed, but hopefully I can release it today.
from jspdf-autotable.
I fixed it my just doing a small change in jspdf.plugin.autotable.js :)
Btw, just curious to know, Can i put links in PDF file?
from jspdf-autotable.
Sweet! There is an annotations plugin for jspdf that makes it possible to add links. It is included in version 1.1 of jspdf, but I think you can add it to earlier versions as well.
from jspdf-autotable.
Closing as duplicate of #53
from jspdf-autotable.
Related Issues (20)
- HTML Entities or HEX Code issues for symbols HOT 5
- line breaks are not working
- Change row colors on page break HOT 1
- jspdf Auto Table, can we break the if the lines are more than 10 HOT 1
- (0 , import_jspdf_autotable.default) is not a function HOT 9
- Textfield Signature?
- 表格项合并时表格项与表头信息不对应 HOT 2
- Multitable loop doesn't align properly and creates unusual gaps or overlaps each other HOT 11
- HorizontalPageBreak page break can continue on same page if vertical space is enough HOT 6
- Cannot Read html tags HOT 1
- Merge Cell Inside the body of the table HOT 1
- Parsing HTML with tables HOT 1
- Rowspan on heading HOT 1
- Inconsistent Table Width Across Pages When Exporting Using jsPDF-AutoTable HOT 4
- Table Border is off and value is not displayed when the first column is having large rowSpan. HOT 3
- Some columns are shrinked because of large texts in some columns HOT 2
- I wanted to highlight some part of text in cell text. HOT 1
- How to set specific startY even after page break HOT 1
- Autotable heading or subheading HOT 1
- Text with horizontal spaces are going out of cell boundry or text is hidden under the next column.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jspdf-autotable.