01-05-2007 12:20 AM
01-05-2007 01:11 AM
Vasanth,
Here is a down and dirty version to get you started. There is a slight flicker in the beginning that may be fixed with property node order, but I will leave that to you.
Chris Co
01-05-2007 01:49 AM
01-05-2007 02:10 AM
01-05-2007 07:38 AM
I'm not sure what you mean. What are you using the tree for and why do you want to delete? Do the columns you want deleted have data in them? If they are blank and you want to prevent a user from seeing a column, just right click tree and choose moveable column seperators. This will prevent any acess to resize the columns at runtime.
Chris Co
01-05-2007 08:28 AM - edited 01-05-2007 08:28 AM
I don't mean to barge in, but here's a little bit of code that will autosize the columns without resizing the whole table. Also, you can't really delete columns, hiding them is what you want. The actual value that you'll read from the tree is just the tag from the first column, so any subsequent columns will only display what you put in them.
Message Edited by Marc A on 01-05-2007 09:28 AM
01-08-2007 02:19 AM
Sorry for not making the question clear. I hereby have attached the sample image of what I want. The first tree has some empty columns. When I run the vi, the tree should resize so as to hide the empty columns.
01-08-2007 02:28 AM