1. #1
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    0
    ThorStan is on a distinguished road

      0  

    Default 4.1.3 - Issue with ExtDirect and store.sync() from grid

    4.1.3 - Issue with ExtDirect and store.sync() from grid


    Hi everyone,

    i really dont have any clue what the issue might be. I have a grid with a store, that does have a model with a proxy of type "direct" and a correct working "Api" definition. I know that, cause data is fetched and displayed in the grid.

    Now, when i do changes to the grid (insert,updates) and execute "grid.store.sync()", the post-request is send to the server but the "data" attribute within is just an empty object.

    I checked with the store listener "beforesync", but the change records are recognized here.

    Please help && kind regards,

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    0
    ThorStan is on a distinguished road

      0  

    Default


    Okay finally i found my mistake. I defined "params" array within the api config for "Ext.Direct.addProvider" . It works when just doing...

    PHP Code:
                'create' => array(
                    
    'len' => 1
                
    ),
                
    'update' => array(
                    
    'len' => 1
                
    ), 
    Kind regards,

    /close

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