extjs - EditorGrid dynamic/dependant Combo Box Editor Fields -


in extjs, have simple editorgrid 2 columns, x , y, both of have combo box editor.

how is possible make values available in second column's combo box (y) depend on selected value in first column (x)?

so, depending on selected in x, values available in y change accordingly.

assuming have store backing each combobox, can use store's filter or filterby methods narrow down results of 1 combobox based on other's current selection. can call either filter function on 'select' or 'change' events of combobox. i've used method in past, , worked needs. had around 200 records per combobox, i'm not sure how solution scales if have deal records more that.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -