View Full Version : Combobox linked to a grid store

4 May 2009, 12:22 AM
I've got a form that contains a grid and I would like to bind a combobox in the same form to that grids store so that as a user adds rows to the grid, the user can select an option in the combobox that correlates to a record in the grid store.

Is this best done by directly linking the combobox's store to the grid store? Or is there a better way?


4 May 2009, 12:25 AM
You can use the same store for both the grid and the combobox as long as you are using triggerAction:'all' in the combobox config (otherwise the combobox is going to filter the store).

4 May 2009, 12:29 AM
Thanks Condor ... worked a treat