Skip to Content

How to access a cell of a crosstab in SAP design studio

Hi Experts,

Is this possible to give a colour to a specific cell of a crosstab in SAP design studio 16.5.0 ?

I know how to access a specific row or a column but how to access a specific cell?

Any help will be appreciated.

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 30 at 07:08 AM

    Assuming you want to change color of a cell in the data area, you can use the following css:

    .myCrosstab .sapzencrosstab-DataArea>tbody>tr:nth-child(3)>td:nth-child(2){
    background-color:red !important;
    }

    The above code is for row 3 column 2 of the data area as shown in the screenshot below:

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 08 at 09:43 AM

    Dear Afreen,

    you can achieve that by using Exceptions within Queries. the Exception is also thrown within design studio and you can use that CSS for coloring.

    Regards,
    Chris

    Add comment
    10|10000 characters needed characters exceeded