10-12-2014 10:37 PM
I have a table in my VI which display some information. however, the number of columes is too many(about 20) and the number of Row is only 5. So I want to change the display format:
original table
Name Age Sex......
Tian 30 female
Song 23 male
After changed:
Name Tina Song
Age 30 23
Sex female male
Another question. The information in colums is too much. some of them have 10 characters, is table control have any property to change the colume width to accommodation them automatically?
Solved! Go to Solution.
10-12-2014 11:03 PM
Transpose your 2-D array.
For column widths, there is a function called Get Text Rectangle. Use that on each element of your 2-D array in the column of interest. Use the maximum value, then set your column width to that.
10-12-2014 11:44 PM
Where can I find the function you mentioned?
10-13-2014 01:14 AM