From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Style of table header

Solved!
Go to solution

Hi all

 

I'm trying to build / replicate a for excel quite common table in Labview with column header on several rows..

Unfortunately I couldn't find a solution for Labview yet.

I added an example:

Excel like table.png

 

Any ideas how to do it? The only idea I got is to take a string table and set all the necessary properties. But I guess there should be a solution with column header.

 

Any help would be really appreciated.

 

Thanks

Yves

0 Kudos
Message 1 of 3
(3,287 Views)

A "system" multicolumn listbox looks favourite.

It has row and column headers available, resizable and colourable rows and columns.
multi.png

Message 2 of 3
(3,283 Views)
Solution
Accepted by topic author Yves

I'd use the standard table control and set up the column title with Multiple Line Input.

As far as I'm concerned, there is no "split" or "merge" cell functionality

You could use some decorations to mimic this effect

table_multi-column.png

 

Or use two table controls

table_header-data.png

 

You can put those 2 tables in a cluster and save it as a typ-def, which you can use in any .vi  as one custom control instead of two separate standard controls ...

typ-def.PNG

 

Message 3 of 3
(3,261 Views)