cancel
Showing results for 
Search instead for 
Did you mean: 

Unbolding the “Over All Result” Row’s last cell

former_member544949
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

cornelia_lezoch
Active Contributor
0 Kudos

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

former_member544949
Participant
0 Kudos

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

cornelia_lezoch
Active Contributor
0 Kudos

since we can define exceptions, that include all values and we can define exceptions, that go either on all values or only on results, I still think an exception would be e fine solution.

regards

Cornelia

former_member544949
Participant
0 Kudos

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!!