PDA

View Full Version : ExtJS Combobox 'expand'



Ronits
3 Jun 2013, 8:23 AM
Hi,
I am trying to load a combo store, on its 'expand' event. The store is loaded properly.
I am then setting the default value by doing a combo.setValue(), if on loading the new values into store, there is a match of any of its new value, with the previous selected value.
What happens is, the combo collapses on doing a combo.setValue(), if a match is found. I need to keep the combo in expanded state, so that user can select from its other values, if he wants to.
Any suggestions would be helpful.

slemmon
5 Jun 2013, 10:55 AM
What if you do setValue(value, false)?

Ronits
6 Jun 2013, 10:03 AM
Really, it's not documented though! I will surely try this and let you know..