Set the dropdown options for a Select from a row in editor
Set the dropdown options for a Select from a row in editor

Trying to think through a method on identifying a specific row in the editor table, it will have a unique value in a specific column, and then take the value from each of the first three columns of that row and put them in an array an set them as the option choices for a dropdown field in the form, any good ideas?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Sure - use the
field().update()
method to update the list of options for a field. You could update it on theinitEdit
event - getting the data from the selected DataTable row usingrow().data()
(which you would base your options list from) - assuming I've understood your intention correctly.Allan