Interactive Report - Column background color

Von Tobias Arnhold 3.01.2018
One of my customers needed an IR where half of the report columns should be visualized in another color.


It is really easy to integrate. Go into the report column attributes inside your "Page Designer" and add a "Static ID" for each column:

Column 1: rep_col_diffcolor_1
Column 2: rep_col_diffcolor_2
...


Now add this CSS snippet inside the page attributes:

.a-IRR-table tr td[headers*="rep_col_diffcolor_"]
{
    background-color: #99ccff;
}


The trick is to address every element by searching for the start part of the "Static ID" name.

Post Tags:

1 One Comment " Interactive Report - Column background color "

Erick Diaz 01 March, 2018 16:33

Hi Tobias,

Another option could be using the out-of-the-box Highlight option for IR/IG, it can be used for rows, as well as, columns.

In the condition, specify "matches regular expression" = ".*" to highlight the complete column.

Thank you,

Erick