table in PDF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterberlin
    Active Community Member
    • Mar 2015
    • 1004

    table in PDF

    hello,
    There is a problem with PDF printing.
    In a texteditor field is a table.
    The table is compressed in the PDF.
    peter
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    hi,
    wrap this field in template in {{{}}}, check in Code View if your field has is valid html without new lines. Could you attach html content here?

    Comment

    • peterberlin
      Active Community Member
      • Mar 2015
      • 1004

      #3
      without {{{{}}}} the HTML code would be displayed. ;-.)
      this is the code used

      <table border="1">
      <tbody><tr>
      <th style="width: 60%;">&nbsp;&nbsp;Bezeichnung</th>
      <th style="width: 20%;">&nbsp;&nbsp;Artikelnummer&nbsp;&nbsp;</th>
      <th style="width: 20%;">&nbsp;&nbsp;Seriennummer&nbsp;&nbsp;</th>
      </tr>
      <tr>
      <td>Grundgerät</td>
      <td></td>
      <td></td>
      </tr>
      <tr>
      <td>Sorter</td>
      <td></td>
      <td></td>
      </tr>
      <tr>
      <td></td>
      <td></td>
      <td></td>
      </tr>
      <tr>
      <td></td>
      <td></td>
      <td></td>
      </tr>
      <tr>
      <td></td>
      <td></td>
      <td></td>
      </tr>
      <tr>
      <td></td>
      <td></td>
      <td></td>
      </tr>
      <tr>
      <td></td>
      <td></td>
      <td></td>
      </tr>
      <tr>
      <td></td>
      <td></td>
      <td></td>
      </tr>
      <tr>
      <td></td>
      <td></td>
      <td></td>
      </tr>
      </tbody></table>

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        I sow this once, and the reason was new lines in html. Could you test it?
        We've created a new Quote that contains the following HTML code in a custom field &quot;individualConditions&quot;: &lt;table&gt; &lt;tbody&gt; &lt;tr&gt;
        Last edited by tanya; 03-09-2018, 12:51 PM.

        Comment

        • peterberlin
          Active Community Member
          • Mar 2015
          • 1004

          #5
          I don't understand what you mean, but I have reduced the lines in the table.

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            from the related topic
            Originally posted by tanya
            Don't brake the line (write all the html text in one row)

            Comment

            • peterberlin
              Active Community Member
              • Mar 2015
              • 1004

              #7
              Now I understand, try.
              No change

              Comment

              • peterberlin
                Active Community Member
                • Mar 2015
                • 1004

                #8
                style="width: 60%;" is the problem

                Comment

                Working...