1. #1
    Sencha User
    Join Date
    May 2009
    Posts
    91
    Vote Rating
    0
    AndreKR is on a distinguished road

      0  

    Default Save button for property grid: last value not saved

    Save button for property grid: last value not saved


    I often use a property grid together with a save button that works like this:

    Code:
    {
        text: 'OK',
        itemId: 'ok_button',
        handler: function() {
            for_example.some_direct_method(pgrid.getSource());
        }
    }
    I always run into the problem that when the user is editing and then clicks the OK button, the currently edited value sometimes(!) is not saved, maybe because there is a race condition between the blur event and the click event.

    As a workaround I usually disable the OK button while the Editor is active, but that is a pretty clumsy solution.

    Is there some best practice how to solve this?

  2. #2
    Sencha Premium Member
    Join Date
    Feb 2013
    Posts
    3
    Vote Rating
    0
    pborgen is on a distinguished road

      0  

    Default Same issue

    Same issue


    I have this same issue. Is there a solutions to this???

Similar Threads

  1. Changed rows of the grid is not saved
    By Vivek_Madapura_V in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 20 Sep 2010, 4:51 AM
  2. How to disable grid save button until first transactions complete
    By venkatareddym in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 29 Dec 2009, 9:16 AM
  3. Replies: 1
    Last Post: 26 Feb 2009, 10:24 AM
  4. Replies: 1
    Last Post: 4 Dec 2008, 5:12 PM
  5. Clicking save button in formpanel does not save data
    By Crazy88s in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 15 Jul 2008, 6:45 AM

Thread Participants: 1

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