on 10-23-2023 11:25 AM
Hi Experts,
We use a SAC optimized story build on a live BW query, and we leverage the 'compact display' option available in the table widget API's. For example: Table_1.setCompactDisplayEnabled(true)
However, we don't see a way to apply a background color (style) to the generated column dimension header.
To apply dimension header styling, it seems that we need the column available in story edit mode to manually apply a cell style. However, to manually set a cell style the header column is not available in edit mode, because the compact display is only rendered in view mode.
I also see no way to apply Styling Rules to dimension headers (only to data and header, but not dimension headers).
Does anyone know a trick to do it anyway?
Example of dimension headers highlighted here in yellow:
Example of dimension header with compact display enabled (across 5 dimensions):
Found a workaround now using CSS code, but empty header cells do not always format along.
.mystyle .sap-custom-table-dimension-header-cell{
background-color:green;
color:white;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.