Git Product home page Git Product logo

Comments (7)

simonbengtsson avatar simonbengtsson commented on September 23, 2024

I actually ran into the same problem (cell height is higher than what can fit on a page). Unfortunately I don't have a timeline for when it will be fixed.

from jspdf-autotable.

simonbengtsson avatar simonbengtsson commented on September 23, 2024

Since v2.0.2 cells higher than page size now gets ellipsized instead of making empty pages and other formatting issues. This is a first step to solve this issue, but if you want to have longer cells than page size you need to divide it manually for now.

from jspdf-autotable.

jeebee2013 avatar jeebee2013 commented on September 23, 2024

thanks simon
i will have a look
thanks for your great work on autotable
jb

from jspdf-autotable.

jeebee2013 avatar jeebee2013 commented on September 23, 2024

hi tom
thanks for your help
just try whit 2.0.2
still have the issue with a page break on beginning of pdf when the 1'rst
cell is long text (file : devis N2195.pdf attached)
no issue when 1rst cell is short text (file : devis N2194.pdf attached)
let me know how i can help
best regards & thanks again

julien

2015-08-29 0:57 GMT+02:00 Simon Bengtsson [email protected]:

Since v2.0.2 cells higher than page size now gets ellipsized instead of
making empty pages and other formatting issues. This is a first step to
solve this issue, but if you want to have longer cells than page size you
need to divide it manually for now.


Reply to this email directly or view it on GitHub
https://github.com/someatoms/jsPDF-AutoTable/issues/61#issuecomment-135906729
.

from jspdf-autotable.

simonbengtsson avatar simonbengtsson commented on September 23, 2024

It seems like it doesn't work attaching files in emails and posting on github. Could you upload the pdf here? Preferably with the code you are using?

from jspdf-autotable.

simonbengtsson avatar simonbengtsson commented on September 23, 2024

Cells spanning longer than one page height is still an issue and will be truncated now as mentioned above. For now I want do anything more than this, but I'm open for pull requests.

from jspdf-autotable.

santukumar2017 avatar santukumar2017 commented on September 23, 2024

This is working fine for me.
Use 'bloburl' instead of 'datauristring'.

Javascript/jquery:

$("#pdf_preview").attr("src", doc.output('bloburl'));

html

<iframe id="pdf_preview" type="application/pdf" style="border:1px solid #666CCC" title="PDF Records" frameborder="1" scrolling="auto" height="520" width="100%"></iframe> best of luck...

from jspdf-autotable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.