1. #1
    Sencha Premium Member
    Join Date
    Feb 2011
    Location
    Reston, VA
    Posts
    53
    Vote Rating
    1
    dmackerman is on a distinguished road

      0  

    Arrow Run callback function after Fx finished

    Run callback function after Fx finished


    Here's what I'm trying to accomplish:

    1) User selects a grid row
    2) User clicks "Delete"
    3) Row slides up (probably using slideUp())
    4) Row is removed from store.

    Code for what I have so far:

    PHP Code:
    var selectedBanners bannerGrid.getSelectionModel().getSelections();
    for (var 
    0rselectedBanners[i]; i++)
    {
        var 
    selectedRowIndex bannerStore.indexOf(selectedBanners[i]);
        var 
    selectedRow bannerGrid.getView().getRow(selectedRowIndex);

        
    Ext.get(selectedRow).slideOut({
            
    callback: function(row) {
                
    bannerStore.remove(r);
            }
        });    

    This doesn't seem to work, but I think my logic with the callback is correct?

    Note that without the animation stuff, the code words properly for deleting selected grid rows.
    Last edited by dmackerman; 16 Jun 2011 at 12:22 PM. Reason: additional info.

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