You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
We build a lot of reference pages for our products' features and integrations in Confluence - we rely heavily on tables to organize certain types of content in an easily scannable/readable format for our internal teams.
Once a table has more than 5-6 rows, though, we've found that formatting it with alternating row colors improves the readability significantly. However, we sometimes have to remove a row with outdated info or insert a new row with new info within the table, causing us to have to manually recolor the rows to maintain the alternating row color scheme. It's super tedious.
It would be great if there was a table setting that could automatically alternate the row colors, so if we add or remove rows the alternating colors remain consistent (would be cool if this worked for alternating column colors too, btw).
I do see this is possible with the Elements Spreadsheet add-on: https://community.atlassian.com/t5/Confluence-articles/How-to-alternate-color-rows-in-Confluence-tables/ba-p/1788022
But, that is really more functionality than we need and the tables in our use case tend to be only 3-4 columns wide (I'm also not keen to replace the tables in literally hundreds of pages with an add-on).
Would this be useful to anyone else? Any chance of this type of enhancement happening?
Thanks!
Hi @Sarah Holdgrafer ,
If your company uses the Table Filter and Charts for Confluence app (that is our add-on), note that you can apply conditional formatting via its Table Transformer macro.
It is not exactly your case as I see it, but if you already have the app installed for your instance, the coloring based on condition will make your tables more easy-to-read.
You may check here for an example.
And an update from me - the Table Spreadsheet macro that also belongs to our Table Filter and Charts for Confluence app and is compatible with our other macros can do the trick: go to the Background colors icon -> Alternating colors -> select the required cells' range and the type of formatting.
This feature copies the "Format as a table" feature in Excel. If you add/remove rows, the coloring is also adjusted automatically.
Hi Katerina,
The Table Toolbox macro you suggest is in our account - and looks like it can do what I need - but I am not familiar with how to write the necessary SQL query to achieve alternating row colors. The examples on the developer's page haven't helped here.
Can you point me somewhere that might give me more direction?
Thanks!
Hi @Sarah Holdgrafer ,
Please raise a support request - our portal is based on the Jira Service Desk and it's confidential. Attach a screenshot of your table with the headers visible and describe what exactly you need to get (on what condition to color rows, use alternating colors, etc.). We'll try to guide you through the case.