Data updated in store with e.record.set() is not getting reflected in grid

  1. #1

    Data updated in store with e.record.set() is not getting reflected in grid

    Hi,

    I have two grids pointing to one store. One AfterEdit event on the first grid I am updating the store with e.record.set('Total', value). I am seeing that Total is getting reflected on the first grid but not on the second grid.

    Can you give me some clue..

    N.B: I am trying with 0.8.2 version.

    Thanks.
  2. #2

    RE: Data updated in store with e.record.set() is not getting reflected in grid

    Guys, any pointer ???
  3. #3

    RE: Data updated in store with e.record.set() is not getting reflected in grid

    Try refreshing the grid - i.e. yourGrid.getView().refresh();

    If you have any event handlers in the beforeSelect or Select listeners then you might want to consider using yourGrid.getView().suspendEvents() and yourGrid.getView().resumeEvents before and after the call to the refesh() method

    hth

Similar Threads

  1. [CLOSED] Store Filter not reflected in Grid
    By GLD in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Nov 29, 2011, 10:15 AM
  2. Replies: 4
    Last Post: Jul 08, 2011, 4:23 PM
  3. Replies: 5
    Last Post: May 17, 2011, 9:10 AM
  4. [CLOSED] How to Get Updated .data.items.length from Store (v8.2)
    By iansriley in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 02, 2010, 8:33 PM
  5. Replies: 5
    Last Post: Jul 10, 2010, 10:33 AM

Posting Permissions