12-19-2016 5:08 PM - edited 01-21-2024 10:02 PM
Hello,
Is it possible to select a specific column in the Cross Tab component, in the data cell area using CSS?
If so, please let me know how this can be achieved without using conditional formatting from BEx.
Thanks,
Hanks
Thank you Vidhya, that was helpful to get a step closer.
By removing the div:after, the final code used to highlight a data cell column is:
.myCrossTab .sapzencrosstab-DataArea td:nth-child(1).sapzencrosstab-DataCellDefault {
background: rgba(0,0,0,0.5)!important;
}
Now to take this a little further... Is it possible to apply two CSS classes to one crosstab?
EXAMPLE:
I need to highlight two columns dynamically, can I do something like?
.myCrossTab .col1 .sapzencrosstab-DataArea td:nth-child(1).sapzencrosstab-DataCellDefault {
background: rgba(0,0,0,0.5)!important;
}
.myCrossTab .col2 .sapzencrosstab-DataArea td:nth-child(1).sapzencrosstab-DataCellDefault {
background: rgba(0,0,0,0.5)!important;
}
and how can I call this in the script?
Thanks,
Hanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please see below blog for requirement,
And also here the CSS code for check the particular column in crosstab,
sapzencrosstab-DataArea td:nth-child(5).sapzencrosstab-DataCellDefault div::after {
content: ” %”;
}
Regards,
Vidhya.C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please see Eshwar's reply here: https://archive.sap.com/discussions/thread/3876503
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi - please see Venu's blog of CSS https://blogs.sap.com/2015/04/22/list-of-css-for-sap-design-studio/ to give you some ideas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.