Dataview onEditKeyPress event

Hi,

the onEditKeyPress event in the dataview allows one to close the editmode by a certain keystroke.

Is it possible to use this to prevent the editmode from closing when pressing the enter-key?
In other words, the editmode should only close when a small button (I’ll just include an image with stopEdit() as an anchor) inside the dataview item is pressed or another item is clicked. .

The problem is that I can’t seem to prevent the enter-key from closing the editmode.

kind regards,
Arno.

You can disable all keyboard handlers, by adding the next code ( before creating DataView )

dhtmlx.KeyEvents = {};