In ExtJS, say you have a simple editorgrid with two columns, X and Y, both of which have a combo box as their editor.
How is is possible to make the values available in the second column’s combo box (Y) depend on the selected value in the first column (X)?
So, depending on what is selected in X, the values available in Y change accordingly.
Managed to answer my question:
As the EditorGrid in question uses a
RowSelectionModel(not aCellSelectionModel), I was able to add the below to thebeforeselectevent of theeditorcombobox:Having updated the relevant store as necessary,
myvaluewas simply set to the first record returned.