PDA

View Full Version : Datefield tab out event



ajain
18 Jun 2009, 11:07 AM
Hello,

I have a DateField column in an editable grid. I have a custom function implemented in it's 'onBlur' event. I notice that the DateField reacts differently when I tab out of it versus when I use the mouse to click out of it so that it loses focus. Specifically, I am using "this.el.dom.value" to get the value that a user enters in the date field. When using a mouse to lose focus from the field, "this.el.dom.value" has the right value, however, when I tab out of the field "this.el.dom.value" has an empty value instead of what the user enters. Why is the tab event acting differently than the mouse lost focus? Both these events trigger the onBlur event.

ajain
18 Jun 2009, 11:22 AM
Nevermind, I used the 'specialkey' event of DateField.