PDA

View Full Version : How to get reference of gridpanel combo-box in controller



rainyyadav
28 Oct 2013, 4:16 AM
I have one grid panel with two columns. These columns are having dependent combo-box.
I want to bind these combo-box value in controller js file.
But don't know how to take reference of grid panel combo-box in controller.

Please reply if anybody know this.

ettavolt
28 Oct 2013, 11:20 AM
Dependent - configured as fields for some 'editor' plugin?
If yes, then there is no query, that is able to find them and only them. Unless you configure some custom itemId for them.

rainyyadav
29 Oct 2013, 1:07 AM
Thankyou ettavolt !!!


I am able to bind value for editor- combobox defined in grid panel.
Taking reference in controller like this:


{ref: 'typeCombo', selector: 'combo[name="type"]'}


and bindind value:


me.getTypeCombo().bindStore(typeStore);