Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    invalidateCache()

    I have two listGrids open A and B

    listGrid B is editable list and i m calling saveAllEdits() to save data.

    Here i need to call invalidateCache() of listGrid A after successfully edit of listGrid B. I tried to call in callBack of listGrid A.

    But saveAllEdits() callback call multiple times mean calls for each record..But i need to call callBack single time after the completion of saveAllEdit()

    Please tell me the way to implement this.

    Thanks,

    #2
    I have the same question. How can I tell when the entire queue of requests has completed after calling saveAllEdits(). The callback function you can pass to saveAllEdits() will tell you when saves have been initiated, but how can you tell when you have received a response to all save requests? I have an EditCompleteHandler on the grid, but that is called per row as well.

    Comment


      #3
      The saveAllEdits() callback fires when all saves have been successfully completed - only once. If there were failures, EditFailed fires.

      Comment


        #4
        I see. I was confusing the documentation on the return value from saveAllEdits() that tells you if saves were initiated. As you say, the callback to saveAllEdits() does only get called once after the entire queue completes normally. Thanks for clarifying.

        Comment

        Working...
        X