I can't directly pass a reference to the combo, since they aren't created yet when I define the items, so that doesn't work. I'm instead passing a string, which I use later to find the reference to the combo (my erroneous line from above). Got any better ideas?

Thanks,
Michael

1 Mar 2011, 8:54 AM

Animal

CQ is definitely the way to go.

What I would do is ask the owning FormPanel to find the sibling ComboBox.

And I'd implement linked combos using a plugin.

27 Mar 2011, 11:49 AM

mdavis6890

Linked Combo Plugin Working

Animal,

I've been distracted getting my code upgraded to Ext 4, but finally got back to this thing. I took your advice and implemented it as a plugin. I'd like to get some feedback from you on it, including any improvements or alternate approaches you might suggest.

- I used the store.filter() method, but would it be better to do something with the combo's beforequery event? I tried briefly and failed.

- There seems to be a problem where the first click 'stutters' and the combo closes up again. The second click works fine and shows the filtered list.

- I don't know what you mean by 'CQ' (oh crap, I think I just figured it out while typing. Did you mean combo query?! Dang, I knew that would have been better, but I couldn't get it working).