-
Sencha User
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
-
Best Answer Posted by
kanchan@rhytha.co.in
Try this with your text-area -
xtype: 'textarea'
,height: 80
,listeners: {
afterrender: function(){
var me = this;
me.el.swallowEvent(['keypress','keydown' ]);
}
}
-
Sencha User
Try this with your text-area -
xtype: 'textarea'
,height: 80
,listeners: {
afterrender: function(){
var me = this;
me.el.swallowEvent(['keypress','keydown' ]);
}
}
-
Sencha User
-
Sencha User
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules