Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    38
    Answers
    1
    Vote Rating
    3
    panbayi is on a distinguished road

      0  

    Default Answered: ExtJS 4.1 MVC detect splitbutton's menu's 'click' event

    Answered: ExtJS 4.1 MVC detect splitbutton's menu's 'click' event


    How can I detect the 'click' event of a splitbutton's menu in a controller?
    For example,I have splitbutton
    Code:
    {
      xtype : 'splitbutton',
      icon-Cls: 'mycls',
      text: 'mysplitbutton',
      menu : {
        items : [ 
          {text : 'button A',action : 'A'},
          {text : 'button B',action : 'B'}
        ]
      }
    }
    I cannot detect the button A or button B in controller like this
    Code:
    ....some code....
    init : function(){
      this.control({
         'button[action=A]' : {
           click : this.myFucntionToButtonA
          }
      });
    }

  2. Eh....,it's solves.I should have added 'xtype : "button" 'in each item property.

  3. #2
    Sencha User
    Join Date
    Dec 2012
    Posts
    38
    Answers
    1
    Vote Rating
    3
    panbayi is on a distinguished road

      0  

    Default


    Eh....,it's solves.I should have added 'xtype : "button" 'in each item property.

Tags for this Thread