catching enter

Hello,



I have a custom excell type that creates a text area on edit



It works fine, but I would like to allow insertion of new lines via the enter key like txt area does. How would I allow this?



Thank you.

You can assing
a) an onkeydown event handler to the custom textarea control, and block its propogation ( (e||event).cancelBubble=true )
b) redefine logic of eneter key handling in grid
grid._key_events.k13_0_0 = null;
it will block default logic, which closes active editor by enter key pressing.