LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Table: tracking entire row/column selection

I'm currently trying to figure out if there is a bug with the table in Labview. Here is my issue:

 

I am trying to track if a user selects the entire row of the table.  Labview has implemented what most tables have: clicking a border row/column will select the entire row/column.  Also selecting the top left corner will select everything.  I would really like to use this feature to my advantage; the problem is the property node/invoke node options do not seem to work well.  Please see the simple attached VI (Labview 2012) and attached images.

 

One could make the argument to just click in a cell and drag, which they then work fine.  However, I would make the argument back saying if you had 100 columns of information, you would not necessarily want to be scrolling until you accidentally scroll past the desired cell and have to back track because that is just a waste of time.

 

I am using Windows 7 on a 64-bit machine (but running 32-bit Labview).  Any help is appreciated.

Download All
0 Kudos
Message 1 of 3
(2,731 Views)

Hi,

 

If you need to select an entire row of a table control, you can use the following example as a reference:

 

https://decibel.ni.com/content/docs/DOC-6671

 

Regards,

 

Andrea Astua

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 2 of 3
(2,675 Views)

Thanks, I have seen this, but it is of no use to me.  As you can see from the code displayed in it, it uses NumCols which only highlights as much as the table displays.  If your whole table cannot fit on the screen, this will only highlight the items that do fit.  Therefore, if a user scrolls to see undisplayed columns, those columns will not be highlighted.  Plus I would like to select them (as opposed to highlight) for future manipulation of the cells.

0 Kudos
Message 3 of 3
(2,669 Views)