1. #1
    Sencha Premium Member
    Join Date
    Jul 2008
    Posts
    23
    Vote Rating
    0
    Joschy is on a distinguished road

      0  

    Default Grid sync with restful proxy does not stop on "exception"

    Grid sync with restful proxy does not stop on "exception"


    If I use "batchActions:false" inside a restful store, every grid row will be send to the server by its own request. In Version 4.0 the complete execution stops on an exception (success:false). For example, if you transmit 10 rows to the server and you will get an exception on the 5th row, no more rows will be send. In Ext 4.1 all 10 requests will be made in any case.

    Is this the "new" right way? If yes, how can I mark the rows with the server error description?

    Thanks a lot,
    Joachim Schneider

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,547
    Vote Rating
    873
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You would have to go in and get the record data and find the record in the store.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1