cancel
Showing results for 
Search instead for 
Did you mean: 

Design studio crosstab alignment

Former Member
0 Kudos

Hello everyone,

In design studio crosstabs columns width have auto width and coming as Column header width.

Please suggest how to make width enough for max content length.

Accepted Solutions (1)

Accepted Solutions (1)

Vidhya
Active Participant
0 Kudos

Hi,

Using CSS, we can over come this.

Please try to use CSS for crosstabs.

With Regards,

Vidhya.C

Former Member
0 Kudos

can you provide some details?

I don't want to make width fixed but to make it enough for every content it has

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello,

You can set width of each column of crosstab by changing properties available for crosstab.

Please find the screenshot attached.

The index of first column in crosstab starts with 0.

Thanks,

Anand

Vidhya
Active Participant
0 Kudos

Hi,

Could fix width of column in CrossTab with below code:

.sapzencrosstab-DimensionHeaderArea ..sapzencrosstab-HeaderCellDefault,

.sapzencrosstab-RowHeaderArea ..sapzencrosstab-HeaderCellDefault ..sapzencrosstab-HeaderCellContentDiv {

width: 180px;

}

Regards,

Vidhya.C

chandrasekhar6
Participant
0 Kudos

Hi Yaroslav ,

In Cross tab properties to change column width size.

Example:

In crosstab contains 4 fields then increase 1st and 2nd column using Column width option.

Click on Column width --> Click on insert --> given column index:0 and column width:200(it is width size)

aging click on insert -> given column index:2 and column width:200(it is width size)

Here column index:0  means 1st column, Column index:1 means 2nd column......,

Thanks,

Chandra.K

Vidhya
Active Participant
0 Kudos
former_member4998
Active Contributor
0 Kudos

Hi

check the below link for CSC to format cross tab

List of CSS for SAP Design studio