Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Ability to define column width in a Page Properties Report table

Juan Carlos Toro February 8, 2023

I have seen several posts going a few years back requesting this feature to be added, and still there is no solution.  Is there an update on this feature?

2 answers

1 accepted

3 votes
Answer accepted
Katerina Rudkovskaya _Stiltsoft_
Atlassian Partner
February 9, 2023

Hi @Juan Carlos Toro,

If your company uses our Table Filter and Charts for Confluence app, you may use its Table Transformer macro to set width of the Page Properties Report macro columns.
Please, check this part of our documentation (navigate to the “Changing column width” section).

Juan Carlos Toro February 14, 2023

I tried Table Transformer.  But this only seems to work on a table created directly by the user in the Confluence page.  It does not seem to apply to tables automatically generated by a Page Property Report macro.

Katerina Rudkovskaya _Stiltsoft_
Atlassian Partner
February 15, 2023

Hi @Juan Carlos Toro,

For me everything works just fine:

Wed 14-1.png

SELECT *,
FORMATWIKI("{cell:width=400px}" + T1.'Company name' + "{cell}") AS 'Company name'
FROM T*

Wed 14-2.png

As you can see, the second column bacame really wide after the transformation. So, please check your SQL query once more: maybe there are any typos or smth.

Like Stiltsoft support likes this
Juan Carlos Toro February 15, 2023

Hi @Katerina Rudkovskaya _Stiltsoft_ ... Thanks a lot for your assistance.  I did follow your latest instructions, and was able to modify the column width.  

What would the SQL query be if I wanted to define the width of 2 (or more) columns?

Thanks in advance.

JC

Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2023

Hi @Juan Carlos Toro ,

Just apply the FORMATWIKI function for each required column of the table.

You may find more examples of the advanced table cells' formatting here.

Juan Carlos Toro February 17, 2023

Thanks a lot @Katerina Rudkovskaya _Stiltsoft_ and @Stiltsoft support 

I was able to modified the width of multiple columns.

However, something else I found out while doing this, which is a major drawback to using this Table Transformer macro in combination with Page Property Report macro: If there is any formatting in the fields in the Page Property Table, the Table Transformers converts the content to plain text. 

E.g.:

If the field was formatted text with bold, bullet, bold text, etc... the formatting is gone.

If the field content was using macros like DATE, Status, etc.... all formatting is gone, and transformed to plain text.

So, it is a trade off that may be not worth it, and I am back to square one, as the whole point of is to be able to format the table to be presented to senior stakeholders.

 

Thanks again!

Stiltsoft support
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2023

Hi @Juan Carlos Toro ,

To preserve initial cell formatting (for example, links, text style, etc.), use commas instead of pluses inside your FORMATWIKI functions.

We do have such example in our documentation (use the link from this or our previous answer and navigate to the "Preserving initial cell formatting" section).

Like 3 people like this
Juan Carlos Toro February 21, 2023

@Stiltsoft support ... Thanks a lot for this info.  Worked like a charm!

JC

Like 2 people like this
0 votes
Kian Stack Mumo Systems
Community Champion
February 8, 2023

This appears to still be an outstanding issue! You can add your vote to this ticket with Atlassian.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events