ni.com is currently experiencing issues.
Support teams are actively working on the resolution.
ni.com is currently experiencing issues.
Support teams are actively working on the resolution.
07-26-2018 03:44 AM
Hi,
Could you help me introducing a combobox into a table control.
i would like to fix this combo box in all cells of a specific column.
Do you know how to do it?
The idea is similar to the attached picture.
Thanks in advance.
07-26-2018 03:52 AM
Unfortunately You can not do this in LV .
You can write code that will simulate this for You. For example when You click on a cell ring will be moved to tht cell and clicked.
You can also this wrapper over .net classes:
https://github.com/unipsycho/LabVIEWdotNetDataGrid
08-20-2018 06:24 AM
Hi,
I do not know how to do it exactly using code, i have been searching on google and I could not find a solution. how can I prgram on LabView using code? Could yo help me?
Thanks in advance.
08-20-2018 09:31 AM
You can do it with an XControl. It's a bit complicated, but I already made one a while ago.
08-20-2018 10:44 AM
@paul_cardinale wrote:
You can do it with an XControl. It's a bit complicated, but I already made one a while ago.
That is WAY cool Paul!
Just drop that XControl on the FP, pop-up to create a pop-up to create an Invoke node >>> Set Selection List
DONE!
Very nice!
Ben
08-20-2018 10:52 AM
How about switching to array of clusters (with thin edge)? This will impact your code of course.
08-20-2018 11:28 AM
@pawhan11 wrote:
Unfortunately You can not do this in LV .
You can write code that will simulate this for You. For example when You click on a cell ring will be moved to tht cell and clicked.
You can also this wrapper over .net classes:
https://github.com/unipsycho/LabVIEWdotNetDataGrid
That is the fastest way known to get proven wrong! But, Saying "You can't do that with LabVIEW" usually helps the original poster as seen here
08-20-2018 11:31 AM
Not as wrapped up as nice as the X-Control, but I shared this example years ago showing it done with a Numeric. I had code for a customer I had done with a mix of strings, rings, numerics.
The message linked describes what I am doing. The message after that has an example with the numeric. The example could be modified for a ring control.
08-20-2018 11:33 AM
@Ben wrote:
@paul_cardinale wrote:
You can do it with an XControl. It's a bit complicated, but I already made one a while ago.
That is WAY cool Paul!
Just drop that XControl on the FP, pop-up to create a pop-up to create an Invoke node >>> Set Selection List
DONE!
Very nice!
Ben
If you don't need to change the lists dynamically, just open the Custom Properties dialog and edit the lists.
08-20-2018 12:01 PM
I modified that example in the other thread for a ring control. The example requires a double-click to activate, but you should be able to change to a mouse click if you wish.