4 Replies Latest reply on Oct 13, 2010 7:26 AM by Devtron

    Annoying tab key behaviour

    shrahaingoson

      I have several controls in a grid. I listen to the tabkey event at the last textinput, fire a function that checks data input in all the controls and set the focus on the invalid controls if there is any. The problem is that once the focus is set, the default tab behaviour kicks in and moves the focus to the next control.

      I would like to avoid a hack like moving the focus back if there is a more elegant way of doing it.

       

      Thanks