1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    10
    Vote Rating
    0
    GermanGuy is on a distinguished road

      0  

    Default Ext.list events: 'tap' is fine, 'activate' doesn't fire ?

    Ext.list events: 'tap' is fine, 'activate' doesn't fire ?


    Hi all,

    I posted this some hours ago, but it didn't appear on the forum, so trying again. I have a list panel with events, where e.g. the 'tap'-event works fine, but the 'activate'-event doesn't fire. I have tried many combinations, checked help, examples and forum, but i did not find anywhere a working activate listener for a list.

    Below my code snippet:

    Code:
    	
    
    var demosList = new Ext.List({
            xtype: 'list',
            store: oStore,
            itemTpl: glaDataDef[cDataDef ]['ListRowDef'],
            singleSelect: true,
            listeners: {
    			orientationchange : function( oThis, cOrient, nWidth, nHeight) {
    				oThis.setHeight( nHeight );
    				oThis.setWidth( nWidth );
    				},
    			beforeactivate: function( oThis, oPrev ) {
    				alert('a');
    				},
    			activate: {
    					element: 'body', //bind to the underlying body property on the panel
    					fn: function(){ alert('act'); }
    				},
    	            el: {
    	                tap: function(){ alert('tap el'); }
    	            },
    	            body: {
    	          	activate: function(){ alert('act body'); }
    	            }
    	        } 
             });
    
    	demosList.addListener('activate', function( oThis ) { alert('b'); });
    
    	demosList.on('activate', function( oThis ) { alert('b'); });
    
    	oPar.add( demosList );
    	oPar.doLayout();
    I am really not aware of what I am missing, I tried a lot of different combinations one by one, anyone maybe having a good idea on this ? Maybe it is a bug ?

    Thanks a lot,

    Frank

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    4
    tryanDLS is on a distinguished road

      0  

    Default


    Please don't double post - thread moderation is on.

  3. #3
    Sencha User
    Join Date
    Jun 2010
    Posts
    10
    Vote Rating
    0
    GermanGuy is on a distinguished road

      0  

    Default


    Quote Originally Posted by tryanDLS View Post
    Please don't double post - thread moderation is on.
    ..certainly agree - just when after some hours this post from me did not show up, I thought it had been lost - as 2 other posts showed up fine immediately...

Similar Threads

  1. Events doesn`t fire
    By uptodate in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 13 Aug 2010, 1:05 AM
  2. [2.0.1]Window.show() does not fire Activate anymore
    By Martin.Trummer in forum Ext GWT: Discussion
    Replies: 3
    Last Post: 24 Sep 2009, 7:41 AM
  3. [SOLVED] - Grid Renderer doesn't seem to fire in IE - in ff it's fine.
    By matevans in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 18 Nov 2008, 5:48 AM
  4. Work fine in FF but don't even fire onReady event in IE, Opera
    By Parth in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 12 Dec 2007, 10:28 PM

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