LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mulcolumn listbox edit cell

Hi Guys,

I would like to use a Multicolumn Listbox, but it's trying hard.
What I want to do is to double-clic on a cell, get his position,
and allow the user to edit it or not, according to the position.

I've notice that it can two kind of type: String or I32,
- Is there a way to switch between theese two type?
plus when it's define as a string, I don't have the "Allow edit cell" property, like when it's a I32 type.
- Is there a way to do that when the type is a String ?
- Or is a way to get the Selection Start property when is an I32 ?

Thanks for any feedback!

Martin

 

0 Kudos
Message 1 of 2
(2,765 Views)

I'm not sure about a multicolumn listbox - I seem to only be able to select rows.

The row is easy to access, just write the output of the terminal into a numeric indicator.

 

If you want rown and column of a cell, maybe try replacing the listbox with an array. You can then definitely access the position - see here

 

Based on the cell the user selects, you could then use the Disabled property node to determine whether they should be allowed to change it or not.

 

Ian

 


EDIT:  See also this post where someone wanted to do the same thing....

http://forums.ni.com/t5/LabVIEW/Multicolumn-Listbox-Active-Cell/m-p/207628

0 Kudos
Message 2 of 2
(2,757 Views)