docMaker User guide
  • 👋Welcome to docMaker
  • Features
    • Create pdf from docx template
      • 🏗️Build your docx template
        • Overview
        • Text substitution
        • Images
        • Conditions
        • Loops
          • Simple list
          • List with multiple values
          • Adding rows into a table
          • Loops in columns + lines (grids)
          • Nested loops
        • QR codes
        • Rich text & html
      • ⚙️docx_fill_convert API parameters
    • Fill-out pdf forms
      • 🔧Build your pdf form
      • ⚙️pdf_fill API parameters
    • Print web page to pdf
      • ⚙️page_pdf API parameters
  • INTEGRATIONS
    • Typeform
      • Create pdf or docx for each Typeform response
    • Bubble.io
      • 📝Easy pdf from docx template
      • 📋Fill-out pdf forms
      • 🖥️Webpage to pdf
    • Make.com
    • Coda
    • Xano
    • Zapier
    • API
  • FAQ
    • 🫧Bubble.io questions
    • 📄Questions on docx templates
    • 📙Questions on pdf templates
Powered by GitBook
On this page
  1. Features
  2. Create pdf from docx template
  3. Build your docx template
  4. Loops

Adding rows into a table

docMaker can add rows to your document's tables. It will add as many rows as you provide data in the JSON.

The beauty of it, is that page numbers will increment automatically, and page breaks will be perfectly fitted !

Example data :

{"orderLines": [
 {
   "item_name": "Shirt",
   "item_price": 88,
   "item_quantity" : 2
 },
 {
   "item_name": "Shoes",
   "item_price": 123
   "item_quantity" : 1
 },
 {
   "item_name": "Dress",
   "item_price": 345,
   "item_quantity" : 4
 }
]
}

Template

Result

PreviousList with multiple valuesNextLoops in columns + lines (grids)

Last updated 1 year ago

🏗️
➡️