Hi,
On a custom formitem which extends DateItem, I add a KeyPressHandler which reacts to UP & DOWN keys.
In a DynamicForm, this works fine and behavior is as expected.
When I use this formitem in a ListGrid as editor, the UP & DOWN keys are ignored by the formitem and are interpreted by the ListGrid as "go to the next/previous row". This is good behavior I don't want to remove.
In the showcase I saw it works as expected for a normal item which has a ValueMap (Continent in http://www.smartclient.com/smartgwt/showcase/#grid_editing_row).
Is there any way to make the ListGrid ignore the UP & DOWN keys for that field?
TIA
On a custom formitem which extends DateItem, I add a KeyPressHandler which reacts to UP & DOWN keys.
In a DynamicForm, this works fine and behavior is as expected.
When I use this formitem in a ListGrid as editor, the UP & DOWN keys are ignored by the formitem and are interpreted by the ListGrid as "go to the next/previous row". This is good behavior I don't want to remove.
In the showcase I saw it works as expected for a normal item which has a ValueMap (Continent in http://www.smartclient.com/smartgwt/showcase/#grid_editing_row).
Is there any way to make the ListGrid ignore the UP & DOWN keys for that field?
TIA
Comment