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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi