1. #1
    Sencha User
    Join Date
    Oct 2011
    Location
    Pakistan
    Posts
    229
    Vote Rating
    1
    umr.ashrf is on a distinguished road

      0  

    Default Ext JS 4.1 Controller Refs Selector with CSS Class

    Ext JS 4.1 Controller Refs Selector with CSS Class


    I am trying to control click event of all buttons that has tab as class.

    This works.
    Code:
    this.control({
        'button' : {
            'click' : this.gotoTab
        }
    });
    This doesn't work.
    Code:
    this.control({
        'button.tab' : {
            'click' : this.gotoTab
        }
    });

  2. #2
    Sencha Premium Member Zdeno's Avatar
    Join Date
    Nov 2009
    Location
    Prague
    Posts
    548
    Vote Rating
    36
    Zdeno has a spectacular aura about Zdeno has a spectacular aura about

      1  

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Location
    Pakistan
    Posts
    229
    Vote Rating
    1
    umr.ashrf is on a distinguished road

      0  

    Default


    Thanks it solved my problem.

Thread Participants: 1

Tags for this Thread