1. #1
    Ext JS Premium Member
    Join Date
    Jan 2011
    Location
    NORWAY
    Posts
    106
    Vote Rating
    1
    frankbolviken is on a distinguished road

      0  

    Default 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:

    Code:
    init: function() {
    		this.control({
    			'newfolder button[action=save]': {
    				click: this.createFolder
    			}
    		});
    	},
    And this works brilliant. But what about ComboBox, how do I capture the "select" event there? :P

    Frank

  2. #2
    Sencha Premium Member
    Join Date
    Aug 2010
    Location
    Quebec, Canada
    Posts
    10
    Vote Rating
    0
    jracine is on a distinguished road

      0  

    Default


    I have exactly the same question. Did you finally find the answer?
    Thanks.

  3. #3
    Ext JS Premium Member
    Join Date
    Jan 2011
    Location
    NORWAY
    Posts
    106
    Vote Rating
    1
    frankbolviken is on a distinguished road

      0  

    Default


    Yeah actually, I solved it.

    just added in the Controller:
    Code:
    init: function() {
    		this.control({
    			'north combobox': {
    				select: this.siteComboSelected
    			}
    		});
    	},
    The North panel has "alias: widget.north" defined.

  4. #4
    Sencha Premium Member
    Join Date
    Aug 2010
    Location
    Quebec, Canada
    Posts
    10
    Vote Rating
    0
    jracine is on a distinguished road

      0  

    Default


    It works fine. Thanks a lot.

  5. #5
    Ext JS Premium Member
    Join Date
    Jan 2011
    Location
    NORWAY
    Posts
    106
    Vote Rating
    1
    frankbolviken is on a distinguished road

      0  

    Default


    No problem

  6. #6
    Sencha User
    Join Date
    Jul 2013
    Location
    Mysore, Karnataka, India
    Posts
    85
    Vote Rating
    6
    sanjayon19 is on a distinguished road

      0  

    Default Please share the MVC combo box example

    Please share the MVC combo box example


    Hi,

    Can you please share the complete MVC combo box example. It would help beginners like me to understand and reuse.

Similar Threads

  1. extjs4 & i18n
    By zlog in forum Ext: Discussion
    Replies: 0
    Last Post: 14 Apr 2011, 12:24 AM
  2. ExtJs3 and ExtJs4 in One App
    By Darren Martz in forum Ext: Discussion
    Replies: 3
    Last Post: 7 Apr 2011, 8:48 AM
  3. Calendar in Extjs4
    By stratboogie in forum Ext: Discussion
    Replies: 2
    Last Post: 6 Apr 2011, 3:25 AM
  4. Ext.Direct with ExtJS4
    By c2c-guinness in forum Ext: Discussion
    Replies: 0
    Last Post: 22 Mar 2011, 6:10 AM
  5. Ext.Direct Changes for ExtJS4?
    By Dumas in forum Ext.Direct
    Replies: 0
    Last Post: 16 Feb 2011, 7:31 AM

Thread Participants: 2