on 04-10-2018 6:36 PM
Hi Experts,
Please see the attached file. In the able I have three cells for “Overall Result” and “Result”. I need to change the contents to “Grand Total” and “Total” respectively.
I am able to change the “Overall Result”to “Total” by following Tammy’s response through this link
https://archive.sap.com/discussions/thread/3668215
How can I change the “Result “ to “Total” ?
Actually I have more than 15 tables in which I need this change and in each table the “Overall Result” and/or “Result” cell position change. So I want to code such that in any table wherever there’s “Result” or “Overall Result” change it to “Total” or “Grand Total”.
Tammy’s solution perfectly works for “Overall Result” but how to access the “Result” cell in the table in my attached file.
Many thanks for your help
Looks like you want to change the content of the text. Although css is not the right place to do so, you can try the following (does not work in IE, works in Chrome, Firefox):
.myCrosstab .sapzencrosstab-HeaderCellTotal>div{
visibility:hidden;
font-size: 1px;
}
.myCrosstab .sapzencrosstab-HeaderCellTotal>div:after{
content: "Total";
visibility: visible;
display: block;
font-size: 0.875rem;
}
.myCrosstab .sapzencrosstab-HeaderCellFirstInRow.sapzencrosstab-HeaderCellLastInCol>div{
visibility:hidden;
font-size: 1px;
}
.myCrosstab .sapzencrosstab-HeaderCellFirstInRow.sapzencrosstab-HeaderCellLastInCol>div:after{
content: "Grand Total";
visibility: visible;
display: block;
font-size: 0.875rem;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Crosstab, you can refer below code to change the text "Overall Result: to "Result"
.mycrosstab .sapzencrosstab-HeaderCellTotal:before{ content: "Result"; }
.mcrosstab .sapzencrosstab-HeaderCellTotal>div{ visibility:hidden; font-size: 1px; }
This will work in IE too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arijit,
Used your CSS code and it's working in Chrome and FF. I tried to change for IE but it's not working. Any CSS code for IE?
Thank you,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello - following that link, the following should work for the results:
.sapzencrosstab-RowHeaderArea .sapzencrosstab-HeaderCellTotal, .sapzencrosstab-DataArea .sapzencrosstab-DataCellTotal{
background-color: #F0AB00;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.