08-07-2012 01:19 PM
Is there any way to wrap the text in a table?
Specifically the column headers.
If I have a header like Input Voltage I would like it to wrap like in Excel
Input
Voltage
So the column width does not need to be set wire just to read the headers
Solved! Go to Solution.
08-07-2012 01:33 PM
Use a property node to set up your column headers and include a new line between Input and Voltage. When the data going to the property node is viewed as code display you will see 'Input\nLevel'.
08-07-2012 02:35 PM
Yeah, I guess that works but I was hoping for a more elegant soultion.
I am pulling the table contents from an Excel file and a couple of the headers have more than one space. So a simple find and replace space for new line does not work very well. That means I will have to set up special cases or somethign for some of them.
I know I could just hard code the headers but I am writing several programs for a department that uses simmilar but different input file formats for their tests and was hoping to only have to do this once. As much as I hate to I will probably just end up hardcoding it for now...
I am going to suggest word wraping for tables in the idea exchange.
08-07-2012 02:47 PM
RTSLVU wrote:
I am going to suggest word wraping for tables in the idea exchange.
I'll vote for that.