Threaded View
-
24 Sep 2012 1:55 AM #1
Answered: How to catch keypress enter ?
Answered: How to catch keypress enter ?
Hello,
I'm a newbie on gxt3.
I've a form with several field and i want that the "enter" submit my form ?
How do I do that ?
Thks
-
Best Answer Posted by lanciendunet
I've resolved my problem with :
Code:new KeyNav(myTextField) { @Override public void onEnter(NativeEvent evt) { evt.stopPropagation(); evt.preventDefault(); myTextField.finishEditing(); //Do the action } };


Reply With Quote