How can I make a pdfHtml5 occupy the entire width of the page?

How can I make a pdfHtml5 occupy the entire width of the page?

ClaudioGSClaudioGS Posts: 29Questions: 1Answers: 0

I have several files with datatable, some with 3 columns and others with six columns.
How can I make the columns fit the page width, depending on the columns I have to print?

Replies

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    This thread should help, it's asking the same thing.

    Colin

  • ClaudioGSClaudioGS Posts: 29Questions: 1Answers: 0

    That's not what I'm looking for. What I need is that if my table has 2 columns, or if I have 3 or 4 columns, they cover the entire page, regardless of the width assigned in the table structure.

  • allanallan Posts: 63,602Questions: 1Answers: 10,486 Site admin

    I don't believe that the pdfmake library (which we use to create the pdf) has that ability I'm afraid. This is their "documentation" for the table - click the "Tables" link at the top. There is no mention of have a table 100% width of the page regardless of the content.

    Sorry, the fix would need to be there, not in DataTables / Buttons.

    Allan

Sign In or Register to comment.