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
Solved! Go to Solution.
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
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";
Dmitry is this done in styler?? Does it work if you use fosi?
Thanks
Bryon