-
29 Apr 2011 12:08 AM #1
Extjs4 + mvc + combobox
Extjs4 + mvc + combobox
Hi,
I have a (probably stupid) question.
WHen I want to capture the click of a buttin, i've understood that you put the following code in your controller:
And this works brilliant. But what about ComboBox, how do I capture the "select" event there? :PCode:init: function() { this.control({ 'newfolder button[action=save]': { click: this.createFolder } }); },
Frank
-
24 May 2011 10:20 AM #2
I have exactly the same question. Did you finally find the answer?
Thanks.
-
25 May 2011 2:33 AM #3
Yeah actually, I solved it.
just added in the Controller:
The North panel has "alias: widget.north" defined.Code:init: function() { this.control({ 'north combobox': { select: this.siteComboSelected } }); },
-
25 May 2011 7:31 AM #4
It works fine. Thanks a lot.
-
25 May 2011 11:27 PM #5
Similar Threads
-
extjs4 & i18n
By zlog in forum Ext: DiscussionReplies: 0Last Post: 14 Apr 2011, 12:24 AM -
ExtJs3 and ExtJs4 in One App
By Darren Martz in forum Ext: DiscussionReplies: 3Last Post: 7 Apr 2011, 8:48 AM -
Calendar in Extjs4
By stratboogie in forum Ext: DiscussionReplies: 2Last Post: 6 Apr 2011, 3:25 AM -
Ext.Direct with ExtJS4
By c2c-guinness in forum Ext: DiscussionReplies: 0Last Post: 22 Mar 2011, 6:10 AM -
Ext.Direct Changes for ExtJS4?
By Dumas in forum Ext.DirectReplies: 0Last Post: 16 Feb 2011, 7:31 AM


Reply With Quote