Results 1 to 2 of 2

Thread: Why is my store not saving ???

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha Premium Member
    Join Date
    May 2009
    Posts
    20
    Vote Rating
    0
      0  

    Default Why is my store not saving ???

    I have implemented a form that make the following calls on the save button handler:

    handler: function() {
    if (forms.editPartySize.getForm().isValid()) {
    var values = fixValuesArray( forms.editPartySize.getValues() );
    stores.parties.getById(editPartySizeId).set(values);
    forms.editPartySize.hide();
    forms.editPartySize.destroy();
    }
    }

    I am left with the red glyph in the cell that was edited by my form.

    The data item in the store is marked as dirty, but no attempt to call my json store url to update the object was made. The store is defined with autoSync true.

    Any suggestions on how to debug this problem?

    Thanks,

    Chris

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,389
    Vote Rating
    497
      0  

    Default

    Do you not see any traffic on the network (net) tab?

    You will need to provide the code for your model/proxy/store for us to help.

    Regards,
    Scott.

Posting Permissions

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