1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    25
    Answers
    2
    Vote Rating
    0
    tmchedlishvili is on a distinguished road

      0  

    Default Unanswered: update edited row

    Unanswered: update edited row


    hello friend
    may be my problem is very easy for you but i can't afford..
    i'm getting datas from row and showing in other panel's fields
    my goal is edit this datas and show edited datas in grid ,please give me some advice, i know that it needs commit() function but..


    mu code :

    Code:
    var selModel = persongrid.getSelectionModel();
    var selectedRecords = selModel.getSelection();
    
    
    console.log(selectedRecords[0].data)
    me.activeRecord = selectedRecords;
    
    
    a=selectedRecords[0].data;
    var user = Ext.create('SFG.model.Person',a );
    me.getForm().loadRecord(user);



    but it needs continue please help me..

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,900
    Answers
    369
    Vote Rating
    176
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    Are you wanting to take a record from a store and load it to a form and have changes in that form reflected back in the source record?
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

    C
    heck out all of the 2013 SenchaCon presentations here:
    http://www.sencha.com/blog/senchacon...now-available/

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2012
    Posts
    62
    Vote Rating
    4
    team.avesta is on a distinguished road

      0  

    Default


    Your grid and form should have same store so that any changes made in form will be reflected in grid panel.

Thread Participants: 2

Tags for this Thread

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