View Full Version : EditorGrid - Pressing alphabet on NumberField starts edit

27 Feb 2007, 6:10 PM
Pressing an alphabet on a NumberField in the EditorGrid starts the edit process. Shouldn't the edit process for the NumberField only start when a numeric key / enter key is pressed?

27 Feb 2007, 11:45 PM

Quickfix would be to set 'clicksToEdit: 1' in the config of the editorgrid.

In addition, I'd like to mention that if one of the columns in the editorgrid is without a defined editor it will throw an error when you try to edit it. Quickfix for this is to manually check for it in isCellEditable(column,row) and return false if it is any of the columns that you know does not contain an editor.

28 Feb 2007, 9:28 AM
The type to start editing feature has been removed. It was buggy and bypassed validation. It may be revisited at a later date. For now hitting enter and then keying in data works as expected.

28 Feb 2007, 9:29 AM
thanks for the quick reply jack ;)