cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Wrap text in a rotated cell

ptc-5432381
1-Visitor

Wrap text in a rotated cell

Hi guys,

I'm trying to wrap the text in a rotated cell. Is this possible?

I rotated the cell in the attributes but the text didn't split and the table gets too big.

Thanks

ACCEPTED SOLUTION

Accepted Solutions
rdiaz
12-Amethyst
(To:ptc-5432381)

Hi Bruno,

Unfortunately, this is a limitation of modifying a table in this manner.

You'll need to find a way of wrapping the text manually via the styling code if it's too large for the cell, or resize the cell. Other limitations can be seen in the article detailing this process:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS38621

View solution in original post

3 REPLIES 3
rdiaz
12-Amethyst
(To:ptc-5432381)

Hi Bruno,

Unfortunately, this is a limitation of modifying a table in this manner.

You'll need to find a way of wrapping the text manually via the styling code if it's too large for the cell, or resize the cell. Other limitations can be seen in the article detailing this process:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS38621

You can, for example, set fixed cell width with APP code by adding the following to the APP source:

block.widthFlex = false;

block.width = "70mm";

or you can go a little further by getting the text length and setting the cell width based on this.

var currentNodeLength = formatting.evaluateXPath('string-length(.)');

block.width = currentNodeLength+"mm";Editor_Tabellenzelle_Drehung.JPG

Dmitry is this done in styler?? Does it work if you use fosi?

Thanks

Bryon

Announcements

Top Tags