# 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.

{% hint style="info" %}
The beauty of it, is that page numbers will increment automatically, and page breaks will be perfectly fitted !&#x20;
{% endhint %}

Example data :

&#x20;

```plaintext
{"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
 }
]
}
```

&#x20;

<table data-header-hidden><thead><tr><th></th><th width="78.33333333333331"></th><th></th></tr></thead><tbody><tr><td><strong>Template</strong></td><td> </td><td><strong>Result</strong></td></tr><tr><td><img src="https://3610933556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtICyn0rKkxEa2DzPEdWY%2Fuploads%2FHuVeng6XypnMrxeL2g30%2Fimage.png?alt=media&#x26;token=d3e30895-286c-4cd5-a51b-a43ca3760715" alt=""></td><td><p><span data-gb-custom-inline data-tag="emoji" data-code="27a1">➡️</span></p><p> </p></td><td><img src="https://3610933556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtICyn0rKkxEa2DzPEdWY%2Fuploads%2Fr4DnY8NRQFFW3bux8sO7%2Fimage.png?alt=media&#x26;token=608d3df0-084c-4434-95c3-0cb96141ad50" alt="" data-size="original"></td></tr></tbody></table>

&#x20;
