Results 1 to 1 of 1

Thread: Run callback function after Fx finished

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2011
    Reston, VA
    Vote Rating

    Arrow 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++)
    selectedRowIndex bannerStore.indexOf(selectedBanners[i]);
    selectedRow bannerGrid.getView().getRow(selectedRowIndex);

    callback: function(row) {

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts