DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

D2TabNumWordWrap(i) not working?

Solved!
Go to solution

How can I word wrap a column via scripting?

 

I added a column to a table but the text exceeds the column width.

I tried D2TabNumWordWrap in the script but it didn't work. 

The column's properties shows Word wrap is selected but the text is not wrapped.

 

Attached is the code that creates the table and sample data.

Any assistance would be appreciated.

showme

 

Download All
0 Kudos
Message 1 of 5
(5,501 Views)
Solution
Accepted by topic author JFiddie

Hello JFiddie,

 

You must set the parameter:

 

D2TabNumClip(8)  = 1

to enable the word wrapping and the parameter

 

D2TabColHeight   = 5

to see two lines. I've added the changes to your script (see attachment).

 

Greetings

Walter

Message 2 of 5
(5,488 Views)

Walter,

 

Thank you, worked like a charm.

 

Would you know how to set the row height only on those that need it instead of every row?

 

-Joe

0 Kudos
Message 3 of 5
(5,468 Views)

Hi Joe,

 

It is not possible to set the height of a certain row. This is a parameter which has an impact on the whole table.

 

Greetings

Walter

0 Kudos
Message 4 of 5
(5,458 Views)

Walter,

 

Thank you for your time.

 

-Joe

0 Kudos
Message 5 of 5
(5,450 Views)