PDA

View Full Version : ComboBox default value with remote Store



Wesling
6 Jul 2010, 12:58 PM
I found the following post in the Ext JS 2.0 forums but it also relates to 3.0.

http://www.sencha.com/forum/showthread.php?52585-ComboBox-default-value-with-remote-Store

In that post, mystix provides an override for the ComboBox that lets users initialize a remote store using both value and displayValue parameters. This override works great in version 3.0 but I was wondering why it is not part of the default code for ComboBoxes. I assume that editing an already populated form is a common task and remote ComboBoxes are common Ajax controls, and as far as I can tell, there is not an easier way to put the two together.