The text editor which can enter multiple lines. If the user does not need to input multiple rows particularly, he should use Single Line Editor.
When setting column editor, it will specify type as "multiline". The user can divide lines by shift+enter keys.
grid.setColumns([
...
{
fieldName: "fld0",
editor: {
type: "multiline",
maxLength: 2000
},
...
},
...
];
column.setEditor({
type: "multiline",
maxLength: 2000
});