1. #1
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    80
    Vote Rating
    0
    fily55 is on a distinguished road

      0  

    Default EXJTS 4 numberfield format

    EXJTS 4 numberfield format


    Hey guys,

    Just a quick question. I have 2 numberfields resembling a click. So there's hours : minutes.
    The hours numberfield goes up to 23, and minutes goes up to 59. What I want to do is be able to display the minutes/hours as 01,02,03 and not 1,2,3. So the numberfields will show 04 : 09 instead of 4 : 9.

    How is this possible?

    Thanks in advance

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    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


    You won't be able to use the number field then. 02 is not a number, you can do it as a string.
    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