Single line text editor.
When setting column editor, it will specify type as "line". If do not separately specify column editor, this editor object will be used.
grid.setColumns([
...
{
fieldName: "fld0",
editor: {
type: "line",
maxLength: 20
},
...
},
...
];
// You can also directly specify in column level.
column.setEditor({
type: "line",
maxLength: 20
});