Hello Isomorphic,
After the long duration of time I have spent with you on this SplitDateTime widget, here is where I am at.
In a DynamicForm, it behaves well and as expected.
In a ListGrid as an editor, it is wrought with issues. Focus and tabbing is a disaster. You can't mouse click out of editing a new record. You can sometimes mouse click out of an existing record being edited. If you set ListGrid.canEdit(false), and the ListGrid is empty the editor field is displayed and can have data entered into it.
Given the great deal of effort, along with the slew of issues I am prepared to completely abandon editing in a ListGrid.
To make matters worse I am required to display and edit times in zulu time. However, the TimeItem appears to refuse to display times in anything but local time. It's quite interesting to watch the time of a record in the ListGrid increment its time by 4 hours just by opening it for editing and then closing it. And now it appears even all of my efforts that at least got me a FormItem that was functional, is now also completely out the window.
Can you please provide feedback on how I can successfully meet the following requirements using your API:
1. A DateTime item that forces the user to manually enter a time (Defaulting to a valid time is not optional).
2. A DateTime item that displays and edits in zulu time, and completely ignores the browsers default locale.
At this point I'm about ready to switch to HTML and JS to try and implement said functionality, but I am really hoping your API is capable of providing a simpler solution.
A set of PickLists for Date and Time would be most ideal. The PickLists for Hours and Minutes could be defaulted to null values. Is it feasible that I could extend your pick list implementation of a DateTimeItem to add Hours and Minutes that defaulted to a null value, failed validation until set to a non null value, and getValue returned a Date in zulu time, and when a date was set on it, it would ignore browser locale and set picklist values according to the zulu time?
Thanks in advance.
After the long duration of time I have spent with you on this SplitDateTime widget, here is where I am at.
In a DynamicForm, it behaves well and as expected.
In a ListGrid as an editor, it is wrought with issues. Focus and tabbing is a disaster. You can't mouse click out of editing a new record. You can sometimes mouse click out of an existing record being edited. If you set ListGrid.canEdit(false), and the ListGrid is empty the editor field is displayed and can have data entered into it.
Given the great deal of effort, along with the slew of issues I am prepared to completely abandon editing in a ListGrid.
To make matters worse I am required to display and edit times in zulu time. However, the TimeItem appears to refuse to display times in anything but local time. It's quite interesting to watch the time of a record in the ListGrid increment its time by 4 hours just by opening it for editing and then closing it. And now it appears even all of my efforts that at least got me a FormItem that was functional, is now also completely out the window.
Can you please provide feedback on how I can successfully meet the following requirements using your API:
1. A DateTime item that forces the user to manually enter a time (Defaulting to a valid time is not optional).
2. A DateTime item that displays and edits in zulu time, and completely ignores the browsers default locale.
At this point I'm about ready to switch to HTML and JS to try and implement said functionality, but I am really hoping your API is capable of providing a simpler solution.
A set of PickLists for Date and Time would be most ideal. The PickLists for Hours and Minutes could be defaulted to null values. Is it feasible that I could extend your pick list implementation of a DateTimeItem to add Hours and Minutes that defaulted to a null value, failed validation until set to a non null value, and getValue returned a Date in zulu time, and when a date was set on it, it would ignore browser locale and set picklist values according to the zulu time?
Thanks in advance.
Comment