I’m trying to use the configureEditor extension function on a power table to create a dropdown list that changes on the selected value.
Here is my attempt:
unComplete = [(0, ' '), (1, 'Approved')]
if self.selectedRow != -1:
val = self.data.getValueAt(self.selectedRow, "Status")
if colName == "Status" and val == "Completed":
return {'options': unComplete}
the column is editable, but the dropdown list does not populate.
I’m not sure this is even possible in the extension function…