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".
Solved! Go to Solution.
Double click the column name and you should get this configuration window:
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.