Cascading Combo Box Example

My *first* contribution to the examples - hopefully not the last :-)

I finally got my cascading combo boxes working perfectly (uh - and learned much in the process through trial and error). You can adapt this to interface with pretty much any sql database information you may have ... with a little more work i guess this could be configured for any amount of boxes. This example is your standard 'Country/Region/City' selection. If you have any questions feel free to drop me a line.

Note that all references are specific to my application - I prefer XML data streams - you can modify to suite your needs.

Thanks for the encouragement .. i have already made modifications to the code so it can be 'self contained' and 'self aware' of its instantiation. Will be updating this shortly :-) along with a screen shot :-) Perhaps this could be a tutorial too ?

This improves the performance of remote combo. I also plan to use an extension similar to http://extjs.com/forum/showthread.php?t=36743 to improve the user experience on remote combo when they are typing in the values and just press Tab while combo's remote store is still loading.

I'm not sure if you knew this yet or not but, when you click on the down arrow for your comboboxes on that page, they are cut off at the top by your flash header applet. Especially the birth time and birth place combos.

I made a function that returns JsonStore object. And on select I call this function with params. However this was not working. Behavior of the combo was very strange. It made a request with correct params and got a proper json response. The combo display was not changed but values behind were. I think it could be a bug, but I'm not familiar with JS or ExtJs to make such a statement.

How to deal with cascade combo box on a grid with loaded values

Hi!

I was wondering about this extension and I'm trying to apply that on a grid. It is working good to add data to the database, but I found a problem. When I try to edit a data set that cames from the database, the child combo cannot get the ScopeId from his parent. So, the question is how to get the already selected value from the parent combo without focus on it, let me show a example:

I have states and city, if you select states the field city will change too, but if I only want to change the city value to another city on the same state, after this grid was loaded from database, how to deal with that?