# How to manage PDF editing of a list of items

**URL:** <https://community.glideapps.com/t/how-to-manage-pdf-editing-of-a-list-of-items/68420>\
**Category:** Ask for Help\
**Tags:** actions, integration\
**Created:** [December 6, 2023, 12:54pm UTC](https://community.glideapps.com/t/how-to-manage-pdf-editing-of-a-list-of-items/68420 "2023-12-06T12:54:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zephir](https://avatars.discourse-cdn.com/v4/letter/z/e95f7d/32.png) [@zephir](https://community.glideapps.com/u/zephir)\
**Post date:** [December 6, 2023, 12:54pm UTC](https://community.glideapps.com/t/how-to-manage-pdf-editing-of-a-list-of-items/68420/1 "2023-12-06T12:54:10Z")

</div>

Hello,  
I managed to generate a PDF document using glide datas and the PDFMonkey application to edit the 1st line of a list of items.

 ![glide](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/b/5b4d962b1246f4ba6789e7f31bdc311751d0c018.jpeg)

But how can I dynamically manage the editing of a complete list of items whose size varies (depending on the list of items ordered by the customer)?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/c/8c1fb7ef757f0a6a45e031a4186f2c57e931fabe.png)

Thank you in advance for your answers

---

<div class="post-metadata">

**Author:** ![Rupert](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rupert/32/44178_2.png) [@Rupert](https://community.glideapps.com/u/Rupert)\
**Post date:** [December 7, 2023, 8:59pm UTC](https://community.glideapps.com/t/how-to-manage-pdf-editing-of-a-list-of-items/68420/3 "2023-12-07T20:59:03Z")

</div>

Hi @zephir, I’m the founder of [DocsAutomator](https://docsautomator.co/), another PDF solution natively integrating with Glide. Happy to help you set up printing of line items! You can find me here in the forum or in the in-app chat in DocsAutomator’s app. Cheers, Rupert

---

<div class="post-metadata">

**Author:** ![zephir](https://avatars.discourse-cdn.com/v4/letter/z/e95f7d/32.png) [@zephir](https://community.glideapps.com/u/zephir)\
**Post date:** [December 8, 2023, 12:21pm UTC](https://community.glideapps.com/t/how-to-manage-pdf-editing-of-a-list-of-items/68420/4 "2023-12-08T12:21:16Z")

</div>

Solved by using the HTML editor instead of the visual editor and by using a loop

```auto
 {% for lineItem in lineItems %}
      <tr class="{% cycle "bg-white", "bg-blue-100" %}">
        <td class="text-left">{{lineItem.a1}}</td>
        <td class="text-left">{{lineItem.l1}}</td>
        <td class="text-right">{{lineItem.q1}}</td>
        <td class="text-right">{{lineItem.p1 | format: '%g'}}</td>
        <td class="text-right">{{lineItem.m1 | format: '%g'}}&nbsp;€</td>
      </tr>
    {% endfor %}

```

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [December 15, 2023, 12:22pm UTC](https://community.glideapps.com/t/how-to-manage-pdf-editing-of-a-list-of-items/68420/5 "2023-12-15T12:22:04Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
