DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Create a ComboBox inside an XTable cell

Solved!
Go to solution

Hallo, I have an XTable showing channel number, channel name and unit of measure. The unit can be freely chosen by the user, but I want it to be chosable among 2 options, so I want a combobox in each row of the table. How to do that?

More over: How do I set the default value of a combobox? For example: if the unit of measure can be chosen among "bar", "Pa" or "atm", I want to show Always as default value "bar".

0 Kudos
Message 1 of 4
(2,321 Views)
Solution
Accepted by topic author mattia_verona

Double click the column name and you should get this configuration window:

43.JPG

0 Kudos
Message 2 of 4
(2,296 Views)

Thank you, very useful!

 

Mattia

0 Kudos
Message 3 of 4
(2,278 Views)

Follow the link below for a complete example of using a ComboBox in an XTable.  A custom class is used to make it easier to work with a ComboBox control within an XTable.

 

http://www.savvydiademsolutions.com/dialog.php?topic=XTable-class-controls

0 Kudos
Message 4 of 4
(2,194 Views)