Sorry for more screenshots and still no code! It's getting closer though!! Everytime I think I am there I find yet another thing to tackle. My main goal is anything that will not be completely backwards compatible.... do it now. This way there's only 1 upgrade required.
Anyway, here is the newly refactored DatePicker. Key features:
- Full Keyboard Navigation/selection
- Month menu
- Can be embedded anywhere (including in a menu like in the screenshots)
- Significantly faster moving through months
- Arrows are ClickRepeater (cycle through months while mouse down on arrow, thanks Nige)
- Disabled dates logic is included (not dependent on grid editor)
- Customizable start day (defaults to sunday, but is monday in the screenshots)
- Can be set up with a field automatically/unobtrusively (e.g. new Ext.form.DateField('some-input') converts a standard input to validated date field with picker).
There's more, but I can't remember. I need to sleep.
![]()