1. #1
    Sencha User hexawing's Avatar
    Join Date
    Nov 2009
    Posts
    73
    Vote Rating
    0
    hexawing is on a distinguished road

      0  

    Default How to get my input value in a row-editing status?

    How to get my input value in a row-editing status?


    Hello all,

    I want to do some validation before submit, so I must get the input value.
    But I can only get the value in store like this:

    PHP Code:
          validateedit: function(editoreoptions){
            
    console.log(e.record.data["mobile"]);
          } 
    I tried "e.value", but it is the value before I edit the cell.
    And also, it is the value of the cell whick I dblclick to trigger into row-editing mode, but no actually the cell's value which I edited.

  2. #2
    Sencha User hexawing's Avatar
    Join Date
    Nov 2009
    Posts
    73
    Vote Rating
    0
    hexawing is on a distinguished road

      0  

    Default


    Who can help me...

  3. #3
    Sencha User kiranadn.net's Avatar
    Join Date
    Jun 2011
    Location
    Calicut,India
    Posts
    48
    Vote Rating
    -1
    kiranadn.net is an unknown quantity at this point

      0  

    Default


    Try the following snippet:

    Code:
    validateedit: function(editor, e, 
    
    options){
    console.log(e.record.get["mobile"]);
     
    
         } 
    



    Regards
    Kiran

  4. #4
    Sencha User hexawing's Avatar
    Join Date
    Nov 2009
    Posts
    73
    Vote Rating
    0
    hexawing is on a distinguished road

      0  

    Default


    thanks, but it has the same result as e.record.data["mobile"], I want the value after my change.
    e.g.:
    I changed someone's mobile number from 1111 to 2222. Via this code I got 1111, but I hope it can be 2222.

  5. #5
    Sencha User hexawing's Avatar
    Join Date
    Nov 2009
    Posts
    73
    Vote Rating
    0
    hexawing is on a distinguished road

      0  

    Default


    I know it...
    PHP Code:
    e.column.getEditor().getValue() 
    But...new problem comes...How can I get the specific column's value? "e" is just the grid I clicked.

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