Populate DropDown from dataset column

We have stopped adding new features to FactoryPMI. It is possible to loop through a table’s dataset and create a new dataset from it that you can set on the dropdown list. I would do it on a propertyChange event handler of the table:[code]if event.propertyName == “data”:
data = fpmi.dataset.toPyDataSet(event.newValue)
newData = []
header = [“Col1”, “Col2”]

for row in data:
    newData.append([row[0], row[1]])

event.source.parent.getComponent("Dropdown").data = fpmi.dataset.toDataSet(header, newData)[/code]