LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Annoying Table Problem

I seriously hope someone posts something that I'm missing, because this is a hassle.

I don't know why LV will not allow me to enter text into the top left cell of a table (when column and row headers are visible), or listbox.

It would be very handy to be able to do this...  I'm struggling to think of why it is not allowed, hopefully, like I said, I'm missing something.


Edit: I realize I can just type text anywhere, then move it into this area, but that's the annoyance I'm hoping to avoid

Message Edited by Day on 09-12-2006 10:53 AM

0 Kudos
Message 1 of 18
(4,092 Views)
Unfortunately I don't think you're missing something. It's just not possible, at least not in LabVIEW 7.1.
I think you know the "Set Cell Value" method. It allows you to set the value for every cell, including row and column headers. But it's even stated in the help that wiring -1,-1 to X,Y indices returns an error.

0 Kudos
Message 2 of 18
(4,070 Views)
I am able to do it in 7.1.1
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 3 of 18
(4,062 Views)
Hmm. May I ask how? I use 7.1 but I see no way.

Message Edited by dan_u on 09-12-2006 05:36 PM

0 Kudos
Message 4 of 18
(4,058 Views)

I just clicked on the upper left cell and typed away with the labeling tool. But I see that my table does not have the double row of lines bordering the upper row and left column, maybe that has something to do with it.

Or are you having problems doing it programatically?

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 5 of 18
(4,052 Views)
I guess in this case you're not actually editing the header but the first cell. Select Visible Items > Row Headers/Column Headers.
0 Kudos
Message 6 of 18
(4,045 Views)

With both set to visible I cannot enter text there, it just becomes a free label. Guess it really is an 'undefined' space. LV Help does not define it as an entity of part of the table.

Hack- use a transparent control over that area??

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 7 of 18
(4,043 Views)
Yeah, that is the approach that I have taken in the past.  Just create a free label, and move it into the space there.  But then that becomes a small hassle because then they need to be grouped in case I move the table etc.

I'm just not sure why we can't use it?
0 Kudos
Message 8 of 18
(4,036 Views)

I guess that option is "off the table", so to speakwink smiley

Can you use a listbox instead?

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 9 of 18
(4,032 Views)

How about using the Caption?

David

Message 10 of 18
(4,025 Views)