LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to add a button control to the specific cells in the Table control

Hi Folks ,

 

 

I want to add a button control to a specific number of cells in a Table control . Is this possbile to do in labview ?. i am novice in Labview.

 

 

Regards ,

 

Preeti

0 Kudos
Message 1 of 6
(3,285 Views)

Do you want them to add programatically?--this is complicated

 

Is the number of row and column are fixed everytime? ---You can just resize a boolean and place it on top of a particular cell

 

 

 

Regards
Guru (CLA)
0 Kudos
Message 2 of 6
(3,275 Views)
No i dont want to do it programatically , instead i am looking for any property to set so as to add other controls in cells of a table ?. The number of rows is not fixed but column is fixed.
0 Kudos
Message 3 of 6
(3,273 Views)

Table control is dedicated to string so you can not natively insert other thing as text.

 

But you could play with properties...

 

For example, to convert a cell as boolean, play with the appearance and detect a mouse click on the cell to change the appearance.

 

You could so play with layers of objects to place specific controls in front of cells.

Message 4 of 6
(3,254 Views)

J.DECHET wrote:

Table control is dedicated to string so you can not natively insert other thing as text.

 

But you could play with properties...

 

For example, to convert a cell as boolean, play with the appearance and detect a mouse click on the cell to change the appearance.

 

You could so play with layers of objects to place specific controls in front of cells.


Exactly the issue!

 

I believe the simplest solution is to use an array of clusters (hide the index control and show the scroll bar).

 

Alternatives get sticky fast like using a Picture control to make it look like... or to use extra hidden indicators that get shown when required and have to be postioned and sized programatically.

 

So...

 

Use an array of clusters.

 

Ben 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 6
(3,240 Views)

Hi Ben,

 

i want the same solution is there any example program for that.

 

 

Thank u,

Regards,

Hari..

0 Kudos
Message 6 of 6
(2,975 Views)