on 07-18-2018 7:19 PM
Hi Experts,
I am using SAP Design Studio 16.5.0. I have a crosstab in which there’s a “Over All Result” Row and the last column which has a “Over All Result” of the values.
You know the “Over All Result” Row/Column is bolded by default.
I want to unbold the last column values except its “Over All Result” value
I have used the following code to unbold the last column values
.ct .sapzencrosstab-DataArea>tbody>tr>td:nth-child(12).sapzencrosstab-DataCellDefault
{
font-weight:normal!important;
}
This code unbolds the last column (which is 12th in my case) values.
Now I want to Unbold only the value “9”. I can’t use the fixed row no. which is 5th row in this case because the “Over All Result” row no. may change depending on the scenario.
I know how to access the “Over All Result” Row by using the following code
.sapzencrosstab-ColumnHeaderArea .sapzencrosstab-HeaderCellTotal:before{
}
But how to access the last cell of the “Over All Result” Row whose row no. can change dynamically
Please find the attached file
Thanks in advance
Hi Afreen,
the formats of different cell types are defined in your style sheet, so you should do the definition there.
If you want to have formats depending on key figure values, use exceptions in your query definition and define in the style sheet the desired style for this exception.
regards
Cornelia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Cornelia for your help.
The cell format doesn’t depend on the key figures, it’s a fixed format that unbolding a specific column values for all rows except the row for “Over All Result”/Total.
Please see the attachment.
I know the style sheet will be used. I’ve unbolded the column using the CSS.
Regards
But if I define exceptions for the "Result" values, my column whose values I am unbolding is also a "Result" column.
so this column will be effected by the exception.
suppose the column is the 12th column and it has "Result/Total" values:
so I need something like "unbold 12th column values for all the rows except for the "Result/Total" row
I've tried this
.a .sapzencrosstab-DataCellTotal
{
}
.b .sapzencrosstab-DataArea>tbody>tr>td:nth-child(12).sapzencrosstab-DataCellDefault :not(a)
{
font-weight: normal !important;
}
Thanks!!
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.