Question

We have build a dashboard in Lumira designer and used a crosstab in it.

For a particular Characteristic (Dimension) for few rows in data sets the text value is more than 200 chars.

Due to which entire column takes enormous width resulting in scroll.

Is there any way we can wrap text the value of text shown in Char. Column if the original text cross a fixed width?

Answer

You can resize columns interactively. And you can pre-define column sizes in Designer using “Column Width” property.

If the text doesn’t fit, crosstab will cut it and show “…” at the end.

I’m not sure if there is an official way to wrap text over multiple lines. You might experiment with CSS rule “text-overflow” and “white-space”, which Crosstab uses to implement this behavior. This might however be difficult because it would change the whole layout of the Crosstab.

Or Try this Code

.sapzencrosstab-DataCellContentDiv, .sapzencrosstab-HeaderCellContentDiv
{
     white-space:normal!important;
     word-break:break-all!important;
     height:25px!important;
}
Important Notice for college students

If you’re a college student and have skills in programming languages, Want to earn through blogging? Mail us at geekycomail@gmail.com

For more Programming related blogs Visit Us Geekycodes . Follow us on Instagram.

Leave a Reply