Results 1 to 2 of 2

Thread: data store and proxy

  1. #1
    Ext Premium Member
    Join Date
    Sep 2010
    Posts
    2
    Vote Rating
    0
      0  

    Default data store and proxy

    Experiencing very weird problem.
    Trying sync a store with proxy that has api setting.
    call store.sync() right after data loaded.
    all my records just loads been recognized as 'new', so store basically call proxy api create and dump all data in the request string in json.
    tried to verify by call store.getNewRecords() right after data loaded. All data just loaded returned with that call...
    Is this a bug or I am using it wrong???

  2. #2
    Ext Premium Member
    Join Date
    Sep 2010
    Posts
    2
    Vote Rating
    0
      0  

    Default

    I got it...
    Have to setup Model.idProperty.
    Any model has no idProperty will be recognized at 'new' data.

Posting Permissions

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