Advanced row styles - 11.x

This page provides an example to override default Confluence styles and make user-defined styles persist for rows. For this example, let's set styles of various rows, including the header row.

Select this macro

Macro nameSQL Query
Macro syntax{sql-query}

Define these parameters/values

Row formatting > Data rows > Row Styles (1

2


3
)

background:lightgrey; font-size:1em; padding-top:25px;

background:lightblue; font-size:1.2em; border: 2.5px dotted black

font-style:italic; font-size: 1em; padding-left:35px

Row formatting > Header rows > Header row styles

font-size: 1.5em; padding:20px; border: 5px solid #c1c7d0;

Row formatting > Advanced settings > Apply Row styles to row cellsOn

Parameters to be set in the macro editor

Example results

When the Apply Row styles to data row cells is off, certain styles for cell padding or borders are not applied as shown:

When the Apply Row styles to data row cells is toggled on, all the specified styles are applied as shown:

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.