how can i activate enter button through keyboard for proceeding to next page or to raise some event without going for event handler.
a samll example, if have a set of rows where some columns with labels,textinputs and a button. I want to call a method to store the values of current row by clicking on button. At this i want to activate keyword button (enter ) to proceed with click functionality without going for event handlers.so please you provide a small example in this ...............
thanks in advance.
i didn't understand the question properly i think this may be helpful.
doTask(); // check for which one triggered the event and work on it
by clicking on enter button from keyboard can i call the method
doTask() without going for eventlistener or event handlers.
any ther alternative
You can assign a button as the container's defaultButton. Then ENTER will
activate its click handler unless some other button has focus.