29 Mar 2012 12:59 AM #1
Custom TimeField Spinner
Please note that we have created a custom timer control with the help of Spinner tag.
This will get updated with the onSpinUp & onSpinDown behaviour
Current implementation supports the 12 hour format ONLY.
We need to support Browser Locales thus the format gets changed for different locales:-
Eg:- for en_US -- Time format is 12 hour 10:23 PM
for en_UK or en_GB -- Time format is 24 hour 22:23
Existing extJS timePicker field behaves accordingly, however it doesn't convey the timer field as user is getting confused by its look and feel of a dropdown.
Existing extJS TimePicker control-
1) Is it possible to update the existing extJS timepicker field to look like the spinner and behave accordingly.
2) Is it possible to update the custom timer filed to support localization?
Please suggest the approach that can be taken next?
Thanks in advance!!
29 Mar 2012 7:13 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
The time field in 4.1.0 extends from Combobox so it won't be able to have the up/down triggers.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.