View Full Version : Default Button on Form and Dialog

16 Jun 2009, 6:39 AM
Does GXT 2.0 supports default button on the forms and dialog boxes?
I'm looking for the same behavior as Windows dialogs have: you set one button as default and then you can press RETURN key on any edit control and the default button's function gets executed.

I could not find an easy way of doing this. Currently I have to add the key listener to every single field on the form. I thought that this could be a common feature the dialog or form panel.