Results 1 to 2 of 2

Thread: How to get 'success' handler in store.save() ??

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default How to get 'success' handler in store.save() ??

    I want to get success handler after i call store.save(), because after i save my data (if success) i want to load data (store.reload())..
    please give me some script to solve my problem,,

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,696
    Vote Rating
    1279
      0  

    Default

    There isn't a save method on the store, I assume you mean on the record/model. In that case, listen to the write event on the store.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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