PDA

View Full Version : Dynamically Update Combobox Store



Paul S
16 Jul 2010, 11:32 AM
I have two comboboxes in a toolbar. I would like to dynamically update the store in the second box based on what's selected in the first. Example: if the first box selects "Letters", I want the second combobox store to be "a-z". If the first box selects "Numbers", I want the second combobox store to be "0-9". Is there an easy way to do this? I was looking at using a local array to provide the store, but am open to any option at this point. Thanks, Paul (newbie to EXT).

j_mmontero
16 Jul 2010, 12:49 PM
look at the select event of the combo and also FAQ.

http://www.sencha.com/learn/Ext_FAQ_ComboBox#linked_comboBoxes