-
FEATURED COMPONENTS
First time here? Check out the FAQ!
in many erp programs,there's such an request:
handle enterkey and change it to tab key (which means when user press enterkey,the focus jump to the next editable component).
now we have to write javascript code to meet it.also have to deel with both ie and firefox.
It will be great to integrate this feature into the next zk-bin.
Check this thread.
However, this in no real resolution....
Maybe you want post a feature request like:
InputElement.focusNextTab();
for (Input) components. This would enable a generic (serverside) enter-eventhandler.
And focusNextTab() could be nice for selectors like bandbox, combobox and listbox too.
Of course it is possbile now:
handel the enterkey-event
- try nextSibling and focus
- if nextSibling no input element -> try next
- if nextSibling null --> getParent --> and try nextSibling...
And maybe, zk-team knows a smarter (clientside) way to "route" enter as tabkey..
/Robert
I already post a feature request, you guys can track it through:
Thanks for response,dear Robert!
from now on, I do it by client side action.
it's easy to deel with ie ,but lots of codes have to be writen to deel with firefox.
i wish there's a property :
<textbox ok2Tab="true"/>
Asked: 2009-04-27 08:50:42 +0800
Seen: 323 times
Last updated: Apr 28 '09