1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    27
    Answers
    1
    Vote Rating
    7
    rhytha268 is on a distinguished road

      1  

    Default Answered: Extjs 4.2 RowEditing

    Answered: Extjs 4.2 RowEditing


    Hi,

    I am using RowEditing in grid. I used "textarea" to enter some description and in that "textarea" on pressing "Enter" button it's updating record.

    How to avoid updating record and getting new line in "textarea" on pressing "Enter" button.

    Thank you

  2. Try this with your text-area -

    xtype: 'textarea'
    ,height: 80
    ,listeners: {
    afterrender: function(){
    var me = this;
    me.el.swallowEvent(['keypress','keydown' ]);
    }
    }

  3. #2
    Sencha User
    Join Date
    Aug 2012
    Location
    India
    Posts
    31
    Answers
    2
    Vote Rating
    5
    kanchan@rhytha.co.in is on a distinguished road

      2  

    Default


    Try this with your text-area -

    xtype: 'textarea'
    ,height: 80
    ,listeners: {
    afterrender: function(){
    var me = this;
    me.el.swallowEvent(['keypress','keydown' ]);
    }
    }

  4. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    27
    Answers
    1
    Vote Rating
    7
    rhytha268 is on a distinguished road

      1  

    Default


    Thank it works.

  5. #4
    Sencha User ovillemain's Avatar
    Join Date
    Sep 2011
    Location
    France
    Posts
    3
    Vote Rating
    0
    ovillemain is on a distinguished road

      0  

    Default


    Perfect ! Thank You.

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