LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Table properties question

I have a table with 10 columns. I index each column into the table so I have one solution to my problem but it is messy and not ideal interface wise.

My question is; Can I minimize a column in my table without using the resize feature? Which leads me to another question, can I lock the cell resize feature without disabling the table?

My solution I have is; have a Boolean loop for each indexed column to turn it on and off so it will remove the column and not have it in my table. But that would add 10 unwanted buttons for the user to somehow find a way to screw something up. I was wondering if there was a way I could have like a minimize button in my header row or something.

If this is not an option, is there a way to drag a column to a different column position? I.E.. Move column 1 to column 4 and have them shuffle accordingly.

It will be a pain to post the code since I don't have labview on this PC and it doesn't seem too necessary anyway since they are not debug questions.

Thanks in advance

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

There isn't any easy way to accomplish this that I am aware of at this time. If you plan to reuse this often you might consider implementing this as an X-Control. Some thoughts that come to mind would be to develop a right-click menu that would activate on your title row. It would trigger a pop-up that would allow the user which columns should be visble and which are hidden. You could also support your reorder using this method. I would also keep an internal copy of the table that contained all the columns and a separate table for display purposes only. The internal data could be an array of clusters which might be easier to work with. This depends on exactly what you are doing with the data.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 2
(2,165 Views)