Dataset bound Dropdown

I have a Dropdown that is bound to a two column dataset. Currently it only shows data from one column. How can I show both column with a space in between?

You’d need to transform the binding being used.

The following code assumes the 0th column contains my “value” and the 1th column contains the “label”

def transform(self, value, quality, timestamp):
	options = []
	for i in range(0, value.getRowCount()):
		option_val = value.getValueAt(i, 0)
		option_label = str(option_val) + " " + str(value.getValueAt(i, 1))
		options.append({"value": option_val, "label": option_label})
	return options