Hi,

adding and removing records works fine. Syncing to the cloud is no problem in this case.
However, when I want to update a record, changes are made locally but when syncing these changes get lost.
Code:
Ext.define('KBCH.model.TableRecord', {
    extend: 'Ext.data.Model',
    
    config: {
        fields: [
            { name: 'rank', type: 'int' },
            { name: 'name', type: 'string' },
            { name: 'played', type: 'int' },
            { name: 'points', type: 'int' },
            { name: 'won', type: 'int' },
            { name: 'lost', type: 'int' },
            { name: 'draw', type: 'int' }
        ]
    }
});
Code:
Ext.define('KBCH.store.TableRecords', {
    extend: 'Ext.data.Store',
    requires: [
        'KBCH.model.TableRecord',
        'Ext.io.data.Proxy'
    ],
    config: {
        model: 'KBCH.model.TableRecord',
        storeId: 'tablerecords',
        sorters: [
            {
                property : 'points',
                direction: 'DESC'
            }
        ],
        proxy: {
            type: 'syncstorage',
            id: 'tablerecords',
            access:'public'
        },
        autoLoad: true,
        autoSync: false
    }
});
In my controller the edited record is saved when pushing a save-button. Everything 's fine, I can see the updated values. But when I want to push these changes to the cloud by tapping a button, I only get the values in the cloud and no changes are made.
Code:
saveEdit: function () {
        var form = this.getRecordForm(),
              values = form.getValues(),
              record = form.getRecord();
        record.setData(values);
        record.setDirty(true);
        this.getTable().refresh();
        this.closeForm();
},
syncStore: function (button) {
        button.disable();
        Ext.getStore('tablerecords').sync(function () {this.enable() },button);
}