1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    9
    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
    12
    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
    358
    Vote Rating
    15
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar