Datasource.sync() issue.

1 posts, 0 answers
  1. Devon
    Devon avatar
    28 posts
    Member since:
    Aug 2012

    Posted 16 Aug 2012 Link to this post

    Hey everyone. Me again.

    I'm having an issue when calling the dataSource.sync() method.

    var recordToUpdate = dataSource.get(id);
    recordToUpdate.set("Name", "Name has been Changed");
    dataSource.sync();

    The "Name" displayed in my listview changes for a split-second, then reverts back to the original name. 

    Does anyone have any idea why??

    Thanks in advance
Back to Top