1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    9
    Vote Rating
    0
    VedvratSharma is on a distinguished road

      0  

    Default Custom TimeField Spinner

    Custom TimeField Spinner


    Hi,

    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
    TimerImage.png
    Current implementation supports the 12 hour format ONLY.

    Problem:
    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-
    TimerImage.png

    Questions?
    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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,731
    Vote Rating
    754
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    The time field in 4.1.0 extends from Combobox so it won't be able to have the up/down triggers.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    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.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar