PDA

View Full Version : DatePicker problem



ang89
28 Nov 2009, 4:32 AM
Hi there, I'm using firefox 3.5.
Everytime I pick a date from datepicker, the display always goes up, so that the DateField is on the bottom of the display. Please see the attached image.

And this applies to every datepicker, even the one provided in the example. Please check here (http://www.extjs.com/deploy/dev/examples/grid/row-editor.html).

I think the display goes up like this because after I pick a date, extjs tries to focus the datefield. Is there any way to prevent this?

Condor
28 Nov 2009, 10:47 AM
It a bug (http://www.extjs.com/forum/showthread.php?t=73562).

ang89
28 Nov 2009, 3:16 PM
It a bug (http://www.extjs.com/forum/showthread.php?t=73562).
And this quickfix is helpful.


Ext.override(Ext.form.DateField, {
onMenuHide: function() {
this.focus();
this.focus(false, 60);
this.menuEvents('un');
}
});

Thanks !