Skip to end of banner
Go to start of banner

How to control a table's column width using the app Advanced Tables for Confluence.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This article explains how to control a JSON table's column width using the app, Advanced Tables for Confluence.

Instructions

  1. Log into your Confluence instance, and create a new page or click to edit an existing page.
  2. Insert the Advanced Table - JSON Table macro. For this example, consider the URL of JSON data:

  3. Edit the macro and navigate to JSON settings > Data source, Data format, Data settings and enter the below details as shown:



  4. Go to Column Settings > Formatting > Cog wheel (Show column attributes as shown:
  5. Enter style="width:170px;" under Column attributes, and click Save settings

    As the sample table contains a single column, the style is provided for the first column (in the screenshot, refer to Columns with number 1). Use this style for the columns as per your requirement in your table(s).

    Use Add formatting to specify formatting for other columns in your table.

  6. The output displays the required table column width. For the given example, the table is displayed as:

    We recommend this to be tested in a non-production environment first before implementing in production.
  • No labels