Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User rabelanger's Avatar
    Join Date
    Jan 2010
    Location
    Montreal
    Posts
    15
    Vote Rating
    1
    rabelanger is on a distinguished road

      0  

    Default Unanswered: How do I update the rowbody of a grid when a record/model is updated?

    Unanswered: How do I update the rowbody of a grid when a record/model is updated?


    Hi,

    I currently have a grid which a rowbody, using the getAdditionalData. In the rowbody, I show data about the record/model and its association. When I set a value on a record, only the row is updated but not the rowbody.

    How would can I do that?

    I can listen to my update event on my store and update my rowbody, but how can refresh the the rowbody using the getAdditionalData method defined in my features.

    Rafael

  2. #2
    Sencha User
    Join Date
    May 2011
    Location
    Ukraine, Rivne
    Posts
    247
    Answers
    44
    Vote Rating
    42
    redraid has a spectacular aura about redraid has a spectacular aura about redraid has a spectacular aura about

      0  

    Default


    Try:
    PHP Code:
    view.refreshNode(view.indexOf(updatedRecord)); 

  3. #3
    Sencha User rabelanger's Avatar
    Join Date
    Jan 2010
    Location
    Montreal
    Posts
    15
    Vote Rating
    1
    rabelanger is on a distinguished road

      0  

    Default


    For some reason refreshNode doesn't refresh the row. It does recall getAddtionalData where the data is updated but the dom stays as is. If I call view.refresh(), the row gets properly updated. I would like to avoid refreshing the whole grid..

    Thanks redraid
    rafael

Thread Participants: 1

Tags for this Thread