1. #11
    Ext User
    Join Date
    Sep 2009
    Posts
    11
    Vote Rating
    0
    gajendrabang is on a distinguished road

      0  

    Default


    Quote Originally Posted by tubamanu View Post
    think that sending your php script to sleep is not the right way here.....as condor said, u need to wait for response of your server.....

    can look like this:

    Code:
                        Ext.Ajax.request({  
                                url : saveURL,
                                success: function ( result, request) { 
                                    // when server answers, reloadstore 
                                    store.reload();
                                    dlgPopup.destroy();    
                                }
                            });
    if nothing at all helps, u can also call an defer-function using extjs.....but its quite a bit dirty :X

    The probelm with AJAX is that it will save once we are out from the field. What I want is to get all the dirty (unsaved) rows and save them in a single shot using AJAX

  2. #12
    Ext User
    Join Date
    Oct 2008
    Location
    Ger
    Posts
    178
    Vote Rating
    0
    tubamanu is on a distinguished road

      0  

    Default


    actually i do not know how to send severel grid rows to server.
    maybe this can be a solution, but don't know if its right...

    when loading your application, u can add a formpanel. after pressing save button, u fetch all dirty rows and add each row into an hiddenfield and add it to the formpanel. after all dirty rows are added, submit the form to server.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar