1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    4
    Vote Rating
    0
    AntiOn is on a distinguished road

      0  

    Default After load action for Ext.Window.

    After load action for Ext.Window.


    Hello!
    How can I bind an event to the Ext.Window, which will be executed after fully downloaded Ext.Window?

    Code:
    windows.EditingTemplate = Ext.extend(Ext.Window, {
                //... ... ... ... ...
          }

    Как я могу привязать событие к окну, которое будет выполняться после его полной загрузки?

  2. #2
    Sencha User
    Join Date
    Oct 2009
    Location
    Cambridge, UK
    Posts
    164
    Vote Rating
    0
    Uberdude is on a distinguished road

      0  

    Default


    Windows aren't "downloaded", but maybe the show or afterlayout events are what you want.

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    4
    Vote Rating
    0
    AntiOn is on a distinguished road

      0  

    Default


    Quote Originally Posted by Uberdude View Post
    Windows aren't "downloaded", but maybe the show or afterlayout events are what you want.
    I need to perform a function after show the window.

    Sorry about my language.

  4. #4
    Sencha User darthwes's Avatar
    Join Date
    Mar 2010
    Posts
    633
    Vote Rating
    -11
    darthwes can only hope to improve

      0  

    Default


    Code:
    windows.EditingTemplate = Ext.extend(Ext.Window, 
    {
        listeners: {
            show: ...
        }
    }
    


    - OR -

    Code:
    windows.EditingTemplate = Ext.extend(Ext.Window, 
    {
        ...
    }
    
    ...
    
    someWin = new windows.EditingTemplate(...);
    // Either this:
    // someWin.on('show', someFunc, someScope, {single: true});
    // or this:
    someWin.on('show', someFunc, someScope);
    


    Alternatively, you can listen to 'afterrender' instead of "show."

    Wes

  5. #5
    Sencha User
    Join Date
    Jun 2011
    Posts
    4
    Vote Rating
    0
    AntiOn is on a distinguished road

      0  

    Default


    Thank you, darthwes! This is something that should be.

Thread Participants: 2

Tags for this Thread

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