View Full Version : Set a Combobox's store to a models association store?

19 Dec 2011, 7:39 AM
Given a model with an association eg,

"User has many Posts"

user.posts()//store of users posts

In a grid panel i can do:


to bind the grid to display that data.

How can i achieve the same effect with a combobox?

I've looked for .reconfigure, .load, .setStore but cant actually find anything that allows for setting the box to a store after the view file has been loaded.


19 Dec 2011, 8:36 AM
hmm, easiest way could be to just clear the data of the combo store and fill it with the new records.