I am trying to compare different page property reports on one page. However, due to column width differences, they are not aligned.
How can I set the column width on a page property report?
This is excellent - Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dmitry Ree, can you help me.
I have the next code of my page. Where I should put this style code and how I should change it for my example if I need set up width of Description column equal 250px.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Artem, the style code above is embedded using the html macro which needs to be enabled by your administrator as it is disabled be default for security reasons.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dmitry Ree I have the HTML Macro enabled but I cannot figure out how to get this to work. Presumably I put your code in an HTML macro window on the same page as the page properties report? How do I reference the columns in my page properties report? I want to adjust the width of the second column in my page properties report. I tried the code in the below screenshot, but it didn't work. Can anyone help please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dorian Workman try this
<style> table:first-of-type td.confluenceId { border: none; } table.aui.metadata-summary-macro Th:nth-child(3) { min-width:300px } table.aui.metadata-summary-macro Th:nth-child(4) { min-width:300px } table.aui.metadata-summary-macro Th:nth-child(5) { min-width:300px } </style>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dorian Workman try adding the td tag for columns. You can inspect DOM elements through Chrome Dev Tools.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. I posted a similar question. If any of you are able to assist, I would really appreciate it!
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I have the HTML Macro but I am unable to figure out where to put it? I have the same question: How do I reference the columns in my page properties report? can anyone help me [ I am using Confluence Cloud]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have the Table Filter and Charts for Confluence app installed for your instance, you may try the Table Transformer macro and its changing column width feature.
Here is an example with screenshots - just wrap your Page Properties Report macro in the Table Transformer macro and type in a custom SQL query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
Does the above solution work if we have the HTML comment macro using the Marco Toolbox on Confluence Cloud?
<style>table:first-of-type td.confluenceId { border: none; } table.aui.metadata-summary-macro Th:nth-child(3) { min-width:300px } table.aui.metadata-summary-macro Th:nth-child(4) { min-width:300px } table.aui.metadata-summary-macro Th:nth-child(5) { min-width:300px }</style>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sanjana,
There is a feature request asking to be able to set the column widths for Page Properties Report Macro, that you're welcome to vote on and follow:
If you're on Server, you may be able to control the column width using the code mentioned in this Community comment as well as trying to go in with the Source Editor plugin later and specifying it there.
I hope this helps.
Kind regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.