From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multicolumn listbox with drop down menu item

Hi,

I want to build a multicolumn listbox  with a column having drop down menu (enum type). Can anyone suggest a way how to implement it.

Thanks,

Ravi

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

Make an XControl.  Here's one for Tables,  use it as an example to build one for MCLBs.

"If you weren't supposed to push it, it wouldn't be a button."
Message 2 of 6
(3,639 Views)

Hi,

Thank you for the reply. Let me try it.

 

Regards,

Ravi

0 Kudos
Message 3 of 6
(3,624 Views)

HI,

 

I tried to run the example you posted. I couldn't find drop down list menu in any cell of the table.

I added .ctl file to the front panel and gave a combo box as input. Is it the way how it should be used??

0 Kudos
Message 4 of 6
(3,593 Views)

Hello,

place the xctl on your fron panel, in its context menu you'll find "Custom properties". (This is only shown, when the Control is not selected). There you can edit the behaviour of the XControl.

This behaviour is programmed via the support-VIs, Listed in the Library- window. This is accessible with a double-click in your file-explorer.

Greets, Dave
0 Kudos
Message 5 of 6
(3,587 Views)

There is a QControl that does that exact thing. You can find it in the Community Contributed QControls on the QControl Enthusiasts Group:

 

QControl Enthusiasts Group

 

It is called the DataGrid QControl.

 

p.s. I’ll never use an XControl again. Too many issues with them. 

 

 

Quentin "Q" Alldredge

Chief LabVIEW Architect, Testeract | Owner, Q Software Innovations, LLC (QSI)
Director, GCentral | Admin, LabVIEW Wiki | Creator, The QControl Toolkit
Certified LabVIEW Architect | LabVIEW Champion | NI Alliance Partner



Message 6 of 6
(3,555 Views)