Loops in columns + lines (grids)

If you have a list of items which you want to display in multiple columns and multiple lines, you may use our columns features.

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

In your template, you have to add Col1, Col2, Col3 to each one of your variables, as shown below:










And in addition to that you have to provide the number of columns in the plugin JSON data, like this: "images.nbColumns" :3, Then just create your JSON loop as usual. You can see a demo on this page : https://docxtopdfplugintest.bubbleapps.io/version-test/image_loop?debug_mode=true Editor: https://bubble.io/page?type=page&name=image_loop&id=docxtopdfplugintest&tab=tabs-2



Last updated