1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    163
    Answers
    5
    Vote Rating
    2
    rafaelrp is on a distinguished road

      0  

    Default Answered: [MVC] How to get actioncolumn click event in controller using Component Query?

    Answered: [MVC] How to get actioncolumn click event in controller using Component Query?


    i'm trying to get the event using.
    Code:
    'servlist > item[action=edit]': {
    				click: this.openWindowEditServ
    			}
    but with no success...

  2. The actioncolumn doesn't have a click event I'm afraid. For each action item's handler you could fire an event on the actioncolumn itself using fireEvent() and you could then listen to the event on the actioncolumn in your controller.

  3. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      1  

    Default


    The actioncolumn doesn't have a click event I'm afraid. For each action item's handler you could fire an event on the actioncolumn itself using fireEvent() and you could then listen to the event on the actioncolumn in your controller.

  4. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    163
    Answers
    5
    Vote Rating
    2
    rafaelrp is on a distinguished road

      1  

    Default


    There another solution, putting an action to the action column..

    Code:
     {
    	        	xtype: 'actioncolumn',
    	        	width: 24,
    	        	action: 'edit',
    
    ......
    Controller

    Code:
    'servlist actioncolumn[action=edit]': {
    				click: this.openWindowEditServ
    			},
    And the fireEvent() works too!

    Thanks!

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi