Reputation: 21
I have my custom-cell-editor which is basically used to edit multi-line text. I am using prime ng text area while editing.
When I press enter my cell editing gets stopped and the editor gets closed, but I want a behavior where some key combination e.g alt+enter will give me a new line into that opened text-area box while editing.
I tried by some event in JavaScript, but still that editor is getting closed once I press alt+enter.
Is there any way to stop propagating other ag grid events when my key combination is alt+enter?
event.preventDefault
is also not working.
Upvotes: 1
Views: 1067
Reputation: 11
Use Shift + Enter for agLargeTextCellEditor if you are using ag-grid
Upvotes: 1