You found a bug! We've classified it as EXTJS-4856 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    davedriesmans is on a distinguished road

      0  

    Default timefield resets after editing

    timefield resets after editing


    i have a grid with two dates :
    {id : 1, agendaTimeFrom: '2011/01/22 09:30', agendaTimeTo:'2011/01/22 11:30', ...

    when i submit an edited time, the date resets to 2008/01/01. see row 2:
    gridediting.png

    my view column code
    Code:
    {
                header: 'Time From', 
                dataIndex: 'agendaTimeFrom', 
                renderer: Ext.util.Format.dateRenderer('y/m/d H:i'),
                editor: { 
                            format:'H:i',
                            xtype: 'timefield', 
                            submitFormat : 'y/m/d H:i',
                            increment: 15,
                            minValue: '8:00 AM',
                            maxValue: '7:30 PM',
                                },
                width: 100
    },
    i use version 4.0.7
    anyone?

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


    I moved this to the bugs forum to open a bug ticket for it as it shouldn't do that.
    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.

Thread Participants: 1

Tags for this Thread