LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Anyway to make a Column in a Tree Control not Visible?

Solved!
Go to solution

I would like to hide some data in a Column in a Tree Control. There is some string data that my application needs to store and retrieve from a column in a Tree Control, but it is relatively large and the User does not need to see it.

 

Is there a way to make a Tree Control Column or Cells not Visible?

 

Thanks.

0 Kudos
Message 1 of 2
(2,552 Views)
Solution
Accepted by dbaechtel

Hmmm, I'm not sure if you can hide an arbitrary column (I don't immediately see a way to get a reference to it), but if your data is stored in the last column of the tree control you can simply resize it using the Number of Columns property. It does not get rid of any data stored in that column (you can resize it back and it'll be there).

 

Actually, just thought of this: you can set an Active Column Number (identify the column you'll be working with), then use Active Cell > Cell Size > Width to set that cell's width to 0, which resizes the whole column. You should be able to get it with simple manipulations from there.

 

Hope that helps,

Misha
Message 2 of 2
(2,522 Views)