Skip to main content
Participant
Oct 9, 2020 6:08 PM UTC
Question

how can we create a pdf from HTML table using javascript

Hi,

 how can we create a pdf from an HTML table using javascript and can break the page and start on a new page after a particular row by checking the column value from that row.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Joel Geraci
    Community Expert
    Community Expert
    Oct 13, 2020 7:19 PM UTC

    The Create From HTML service supports the Page Media media query of CSS. You would style the element that you want the break after to be set to 

    page-break-before: always;

    https://developer.mozilla.org/en-US/docs/Web/CSS/Paged_Media 

    Translate