LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable single column of Table

Solved!
Go to solution

Hi All,

 

This may be something very silly to ask.

 

Have a Table control in which first two column would not be editable by the user and remaining would be user entry.

 

How do I go about disabling only two columns of the table control?

 

Thanks in advance.

0 Kudos
Message 1 of 8
(5,420 Views)

As far I know you cannot do that. But a simple workaround would be is to have 2 seperate Table/Array and make the 1st disabled (make it as an indicator) and have the second one editable. Tricky part is to decorate them and make it look like a single table. Does it make sense?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 8
(5,403 Views)

Hi NaruF1

 

May be you can tri the attachd VI.

Please tell me if this works

 

Kudos are expected

 

Ninad

 


Thanks,

Ninad Regundwar
Junior Engineer | ARAV Technologies | www.aravtech.com
0 Kudos
Message 3 of 8
(5,399 Views)

Please attach the code in 2011 version.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 8
(5,396 Views)

Hi P@Anand

 

Please check the attached code


Thanks,

Ninad Regundwar
Junior Engineer | ARAV Technologies | www.aravtech.com
Message 5 of 8
(5,392 Views)
Solution
Accepted by topic author NarayananK

The attached code disables the first two rows but, to change it to columns just change the unbundle value to column.


Thanks,

Ninad Regundwar
Junior Engineer | ARAV Technologies | www.aravtech.com
0 Kudos
Message 6 of 8
(5,388 Views)

Hi ninadskr419,

 

Thanks for the vi. Believe some easier way of doing this could be available.

But does the job as of now.

 

 

0 Kudos
Message 7 of 8
(5,369 Views)

Hi Naru,

 

put a decoration (like rectangle) on top of the table so that it covers the first two columns. Make the decoration transparent and you're done...

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 8
(5,367 Views)