1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    7
    Vote Rating
    0
    sasadorian is on a distinguished road

      0  

    Default Unanswered: fire up completeEditHandler when a row is removed

    Unanswered: fire up completeEditHandler when a row is removed


    I have the following piece of code. It's working just fine. The only problem I have is when I remove a row in my grid, I would like refreshGridValues(event) to execute (right now it only happens when I save a row)

    Code:
        
    
    editing.addCompleteEditHandler(new CompleteEditHandler<Staff>() {
    @Override
    public void onCompleteEdit(CompleteEditEvent<Staff> event) {
    refreshGridValues(event);
    }
    });
    Now, Option B would be to eliminate the need for "event" variable in "refreshGridValues(...)". So any other way to construct the following lines w/out using event?

    Code:
    event.getSource().getEditableGrid().getView().getCell(i, j).getInnerText();
    event.getSource().getEditableGrid().getView().getCell(i, j).setInnerText(...);
    Please advise.
    Thanks in advance.

  2. #2
    Sencha User
    Join Date
    Oct 2012
    Posts
    7
    Vote Rating
    0
    sasadorian is on a distinguished road

      0  

    Default


    Got it.

    use:

    Code:
    editing.getEditableGrid().getView().getCell(i, j).setInnerText(...));
    where:

    Code:
    GridEditing<Staff> editing;

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