PDA

View Full Version : FormBinding to ComboBox



tslusser
26 Jul 2009, 4:14 PM
Hello,

I am trying to figure out how to bind a model property to a selection in a combo box. I would prefer to use a ListStore to back the ComboBox instead of using a SimpleComboBox. The scenario is something like the GridBinding example

http://extjs.com/examples/pages/binding/gridbinding.html

Imagine one of the TextFields is a combo box and the value in the Model would sync with the value in the ComboBox.

Is there an example of how to do this? I could not find one in the samples.

Thanks,

Ted

Hova
3 Aug 2009, 2:39 AM
Hello,

I am trying to figure out how to bind a model property to a selection in a combo box. I would prefer to use a ListStore to back the ComboBox instead of using a SimpleComboBox. The scenario is something like the GridBinding example

http://extjs.com/examples/pages/binding/gridbinding.html

Imagine one of the TextFields is a combo box and the value in the Model would sync with the value in the ComboBox.

Is there an example of how to do this? I could not find one in the samples.

Thanks,

Ted

Ted please see --> http://extjs.com/forum/showthread.php?t=56855