30 Jun 2014, 10:26 AM
Dynamically adding items to drop down list of combo box.
How to add items to the drop down list based on the selection of the item from the drop down list of other combo box? For Example, if in country combo box, USA is selected then it State combo box california, Texas should be displayed in its drop down list or if India is selected from country combo box then in State combo box drop down list, there should be states of India.
How to do this in Sencha Architect? I am using three stores, one for first combo, second for USA States and third for INDIA States.
Can you help in this?
A solution is to add a ‘clear’ trigger when the combobox has a value. The other solution is to add an empty row to the data store backing the combobox, usually as the first record.