This is a migrated thread and some comments may be shown as answers.

Datasource.sync() issue.

0 Answers 45 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Devon
Top achievements
Rank 1
Devon asked on 16 Aug 2012, 01:47 PM
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

No answers yet. Maybe you can help?

Tags
Data Source
Asked by
Devon
Top achievements
Rank 1
Share this question
or