Articles on: Tutorials

How to draw an horizontal repetition in a table (LibreOffice)?

1) Go to Insert -> Section -> Columns and set maximum number of column (here 5)





2) In the first section, insert a table, and go to "Table Properties":



3) Uncheck "Allow table to split across pages and columns"



4) You can also insert a second table (and do step 3 again) in the second section if you need a first column of title like this:

Then, insert Carbone tags to create an horizontal repetition:



In this example, the left border of the second table is removed to have only one border between repeated columns

Result





With this data:

[
  {"title":"ok","status":"pending","color":"red","power":"110","brand":"Toyota","engine":"hybrid"},
  {"title":"ok","status":"pending","color":"blue","power":"300","brand":"Tesla","engine":"electric"},
  {"title":"ok","status":"delivered","color":"green","power":"210","brand":"SonoMotor","engine":"electric"}
]





With this data:

[
  {"title":"ok","status":"pending","color":"red","power":"110","brand":"Toyota","engine":"hybrid"},
  {"title":"ok","status":"pending","color":"blue","power":"300","brand":"Tesla","engine":"electric"},
  {"title":"ok","status":"delivered","color":"green","power":"210","brand":"SonoMotor","engine":"electric"},
  {"title":"ok","status":"delivered","color":"grey","power":"110","brand":"Lightyear","engine":"electric"},
  {"title":"ok","status":"delivered","color":"orange","power":"410","brand":"Renault","engine":"electric"}
]

Updated on: 09/09/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!