pauljtaylor
1 Dec 2011, 12:43 PM
Hey, everyone.
I've got a gridPanel in 4.07 with the rowEditing plug-in. I've got a field for the end time of a task:
{
header: 'End Time',
dataIndex: 'endtime',
width: 80,
editor: {
xtype: 'timefield',
allowBlank: true
}
}
I can add a row and choose, say, 3:30 PM as the end time.
If I add another row after that, I'll expand the end time picker, and 3:30 PM is highlighted and not selectable. Likewise, if I choose a row to edit that already has data (the end time in that row may be 2:30 PM, for example), the picker still has 3:30 PM highlighted and unavailable, where the expected behavior is that 2:30 PM would be the unavailable choice. The only work around is to choose another time like midnight... that will lock 12:00 AM and make 3:30 PM available for choosing.
Is there something I'm setting up incorrectly? I've stripped down the configs of the timefield to the bare bones, but maybe that's the problem...?
I've got a gridPanel in 4.07 with the rowEditing plug-in. I've got a field for the end time of a task:
{
header: 'End Time',
dataIndex: 'endtime',
width: 80,
editor: {
xtype: 'timefield',
allowBlank: true
}
}
I can add a row and choose, say, 3:30 PM as the end time.
If I add another row after that, I'll expand the end time picker, and 3:30 PM is highlighted and not selectable. Likewise, if I choose a row to edit that already has data (the end time in that row may be 2:30 PM, for example), the picker still has 3:30 PM highlighted and unavailable, where the expected behavior is that 2:30 PM would be the unavailable choice. The only work around is to choose another time like midnight... that will lock 12:00 AM and make 3:30 PM available for choosing.
Is there something I'm setting up incorrectly? I've stripped down the configs of the timefield to the bare bones, but maybe that's the problem...?