Results 1 to 2 of 2

Thread: Custom TimeField Spinner

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Vote Rating

    Default 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!!

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    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
    Learn BBCode and use it!

    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.

    Need more help with your app? Hire Sencha Services

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts