Results 1 to 3 of 3

Thread: after update data,grid select data is old data

  1. #1
    Ext User
    Join Date
    Sep 2007
    Posts
    12
    Vote Rating
    0
      0  

    Default after update data,grid select data is old data

    when I update a data,and ds.load(),grid show the new data,
    but grid.getSelectionModel().getSelected().data is old data ,
    I have to click the grid ,to make grid.getSelectionModel().getSelected().data new data.
    why?Can you help me ?
    How can I get the new updated data ?

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    3
      0  

    Default

    In your load handler, you can call
    Code:
    grid.getSelectionModel().clearSelected()

  3. #3
    Ext User
    Join Date
    Sep 2007
    Posts
    12
    Vote Rating
    0
      0  

    Default I have resolved this question ,Thanks

    I have resolved this question ,Thanks

Posting Permissions

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