Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Change display for one crosstab only

Hello people,

I have one question : is it possible to modify the display of a crosstab ? And only one !

Here the css i want to use for this one crosstab (in this exemple, it will works for all crosstab) :

.sapzencrosstab-HeaderCellDefault  .sapzencrosstab-DataArea, .sapzencrosstab-DimensionHeaderArea, .sapzencrosstab-ColumnHeaderArea


  font-size : 10px;

  height : 10px;


.sapzencrosstab-DataCellDefault, .sapzencrosstab-HeaderCellDefault{

  height: 10px;


.sapzencrosstab-DataCellContentDiv , .sapzencrosstab-RowHeaderArea


  font-size : 10px;


How can i use this CSS as one CSS Class and apply it for a crosstab without modifying another one ?

Thanks all !

Former Member
Former Member replied

Hi Jonas,

I tried your css and yes it applies to all crosstabs even with selectors.

But I think there are other css codes able to meet your need. For example, to change the font size and height of a certain crosstab:


  font-size: 20px;


#CROSSTAB_2 .sapzencrosstab-DataCellContentDiv { 

  height: 50px !important;


Best regards,


1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question