This error is reproducible with showCase of current version of smartclient.
When a ListGrid is initialized with some frozen fields and some date/dateTime fields while showFilter is true, an Exception this.parentElement has no function startEditing() is thrown by clicking on the textfield portion(not the calendar picker) of quick filter editor of a date/dateTime field.
Now smartclient does not bring this error to the attention of the user but if you put a break point at the end of makeFilterEditor() inside ISC.Grids.js:
The exception is justified because with frozen fields the filterEditor_body(this) is put together with filterEditor_frozenBody under an extra layer of Layout(parentElement) so that the intended filterEditor itself becomes the grandparent while Layout has no function "startEditing".
Can you verify if this is a bug?
When a ListGrid is initialized with some frozen fields and some date/dateTime fields while showFilter is true, an Exception this.parentElement has no function startEditing() is thrown by clicking on the textfield portion(not the calendar picker) of quick filter editor of a date/dateTime field.
Now smartclient does not bring this error to the attention of the user but if you put a break point at the end of makeFilterEditor() inside ISC.Grids.js:
Code:
if (filterEditorProps.bodyDefaults == null) filterEditorProps.bodyDefaults = {};
// Ensure if the user tabs into the body we shift focus into the edit form
filterEditorProps.bodyDefaults.focusChanged = function (hasFocus) {
if (hasFocus) this.parentElement.startEditing();
}Can you verify if this is a bug?