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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      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
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •