Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Assigning CSS class to crosstab

$
0
0

Hi Experts

 

In my dashboard I have assigned a custom CSS class to one of my crosstabs. When I first run the dashboard, the crosstab is displayed using
my custom class. But when I do some kind of navigation (sort or similar) the crosstab goes back to using the standard CSS. 

 

I tried to correct this with adding a script command in the “On result set change” on the data source (script: “CROSSTAB_1.setCSSClass("showMeasure measureKPI");”) but this does not help. I still just get the standard CSS look.

 

Does someone know how it is possible to assign a custom CSS class to a crosstab and make the crosstab continuing the class?

 

We use DS 1.3 SP02.

 

Kind regards

 

Erik

 

Below is the class we use to hide some columns in the crosstab:

 

.showMeasure.measureKPI .sapzencrosstab-ColumnHeaderArea
td.sapzencrosstab-HeaderCellDefault:not(:nth-child(-n+17)) 

 

,.showMeasure.measureKPI .sapzencrosstab-DataArea
td.sapzencrosstab-DataCellDefault:not(:nth-child(-n+17))

 

{display: none;}


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>