Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Formatting of Crosstables in Design Studio

Hi All

I have a new requirement whereby certain columns should be certain colours (Background colour) to highlight groupings. The Header and the cells need to have same background colour.

Below is how it is currently formatted in Excel.

Any ideas on this one? I did find some posts about setting colours via CSS but it didn't work too well for me. As far as I'm aware there is not a custom component that can do this either?

Thanks All

Former Member replied

Hi Alex,

You can try the following css:

table.sapzencrosstab-DataArea tr td:nth-child(10n+3) {background: #A52A2A !important;}

table.sapzencrosstab-DataArea tr td:nth-child(10n+5) {background: #A52A2A !important;}

table.sapzencrosstab-ColumnHeaderArea tr td:nth-child(10n+3) {background: #A52A2A !important;}

table.sapzencrosstab-ColumnHeaderArea tr td:nth-child(10n+5) {background: #A52A2A !important;}



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question