on 01-16-2018 5:50 PM
Dear Experts,
I am using SAP design studio 1.6 with BEx queries as a data source .
I have a crosstab like this.
ABCabcdefabcdef123I don’t want to display the last column i.e. Column C and want the output like this
ABabcdef123I’ve used this formula but it’s not hiding the required one
.x .sapzencrosstab-ColumnHeaderArea td.sapzencrosstab-HeaderCellDefault:not(:nth-child(2)),.x .sapzencrosstab-DataArea td.sapzencrosstab-HeaderCellDefault:not(:nth-child(2)){
display:none!important;
}
Thanks for your help!!!
Hi Afreen,
this is what I did to hide columns 3 and 4 in CROSSTAB_1:
table#CROSSTAB_1_dataArea td:nth-child(2) {
display: none;
}
table#CROSSTAB_1_colHeaderArea td:nth-child(2) {
display: none;
}
table#CROSSTAB_1_dataArea td:nth-child(3) {
display: none;
}
table#CROSSTAB_1_colHeaderArea td:nth-child(3) {
display: none;
}
Regards, Uladzislau
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Afreen,
by the way you can also hide columns dynamically. Define first css class
.test .sapzencrosstab-DataArea td.sapzencrosstab-DataCellDefault:nth-child(2),
.test .sapzencrosstab-ColumnHeaderArea td.sapzencrosstab-HeaderCellDefault:nth-child(2),
.test .sapzencrosstab-DataArea td.sapzencrosstab-DataCellDefault:nth-child(3),
.test .sapzencrosstab-ColumnHeaderArea td.sapzencrosstab-HeaderCellDefault:nth-child(3)
{
display: none;
}
and the apply it dynamically in BIAL
CROSSTAB_1.setCSSClass("test");
Regards, Uladzislau
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.