1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    10
    Vote Rating
    0
    EdGarciaC is on a distinguished road

      0  

    Default Help with a callback function

    Help with a callback function


    hi guys, can somebody give me a example for a callback function?
    i need to do some actions before something...

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Location
    Vancouver, Canada
    Posts
    157
    Vote Rating
    14
    el_chief will become famous soon enough

      0  

    Default


    You can find an example of a callback here:

    http://docs.sencha.com/ext-js/4-1/#!...ic-method-load

  3. #3
    Sencha Premium Member Zdeno's Avatar
    Join Date
    Nov 2009
    Location
    Prague
    Posts
    389
    Vote Rating
    17
    Zdeno will become famous soon enough

      0  

    Default


    Check API docs and select function which you want on favourite class

    E.g. store:

    Code:
    var myStore = new Ext.create('Ext.data.Store', {
    ...
    listeners: {
        beforeload: function(store, operation, e){
             ...
        }
    }
    or on object instance:

    Code:
    myStore.on('beforeload', function(store, operation, e){
        //do whatever you want here
    });

Thread Participants: 2

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