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
(1,526 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
(1,501 Views)

Hi,

Thank you for the reply. Let me try it.

 

Regards,

Ravi

0 Kudos
Message 3 of 6
(1,486 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
(1,455 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
(1,449 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

Owner, Q Software Innovations, LLC (QSI) | Director, GCentral | Admin, LabVIEW Wiki
Tech Lead, Hill AFB LabVIEW Center of Excellence | Creator, The QControl Toolkit
Certified LabVIEW Architect | LabVIEW Champion | NI Alliance Partner


I'm Speaking at the GLA Summit!

Message 6 of 6
(1,417 Views)