Hello,
We are having an issue with a grid where the user enters some data in a (new) record and uses escape to go out of edit mode. Parts of the data are discarded, we expect this to happen because of the following:
The 'shouldCancelEdit' function looks at the 'escapeKeyEditAction' setting to decide how pressing escape should be evaluated.
The 'saveAndHideEditor' function however does not look at the 'escapeKeyEditAction' setting when evaluating the escape key press (var cancelling = editCompletionEvent == isc.ListGrid.ESCAPE_KEYPRESS) - this causes the data being discarded regardless of the requested escape action.
We fixed up the code to look at the 'escapeKeyEditAction' setting and once we did the data no longer gets discarded.
Are we overlooking something here or is this a valid hole in the code?
This is on v8.3p_2013-04-08/Pro Deployment 2013-04-08.
thanks
We are having an issue with a grid where the user enters some data in a (new) record and uses escape to go out of edit mode. Parts of the data are discarded, we expect this to happen because of the following:
The 'shouldCancelEdit' function looks at the 'escapeKeyEditAction' setting to decide how pressing escape should be evaluated.
The 'saveAndHideEditor' function however does not look at the 'escapeKeyEditAction' setting when evaluating the escape key press (var cancelling = editCompletionEvent == isc.ListGrid.ESCAPE_KEYPRESS) - this causes the data being discarded regardless of the requested escape action.
We fixed up the code to look at the 'escapeKeyEditAction' setting and once we did the data no longer gets discarded.
Are we overlooking something here or is this a valid hole in the code?
This is on v8.3p_2013-04-08/Pro Deployment 2013-04-08.
thanks
Comment