SMART datagrid v.1 > Classes > EditOptions
If it is true, when type enter key, if the editor has not been displayed, it will be displayed in Current Cell, and if the editor has already been displayed, it will Commit editing.
First, both editable and editable of column should be true. And, editable should not be specified as false through CellStyle.
Defaults to false.
grid.setOptions({
edit: {
editable: true,
enterToEdit: true
}
});
grid.setEditOptions({
editable: true,
enterToEdit: true
});
grid.editOptions().setEnterToEdit(true);