Jul 03, 2009, 11:28 AM
Hotkey to display DateField's Calendar
Hi there!
I'm starting to study the ExtJs, and i was having a problem to display the DateField's Calendar and i arrived in the following solution to show it by pressing down the DOWN or SPACE key:
Thanks! Sorry if this topic is in the wrong section, but i think this also could be an example :)
I'm starting to study the ExtJs, and i was having a problem to display the DateField's Calendar and i arrived in the following solution to show it by pressing down the DOWN or SPACE key:
<ext:KeyMap ID="KeyMap1" runat="server" Target="#{DateField1}">
<ext:KeyBinding>
<Keys>
<ext:Key Code="SPACE" />
</Keys>
<Listeners>
<Event Handler="#{DateField1}.onTriggerClick();" />
</Listeners>
</ext:KeyBinding>
<ext:KeyBinding>
<Keys>
<ext:Key Code="DOWN" />
</Keys>
<Listeners>
<Event Handler="#{DateField1}.onTriggerClick();" />
</Listeners>
</ext:KeyBinding>
</ext:KeyMap>
Btw, is there a solution ready for this?Thanks! Sorry if this topic is in the wrong section, but i think this also could be an example :)