SMART datagrid v.1 > Classes > EditOptions
如果为true, 就会在单元格编辑器的编辑插入符号的位置为首位时,如果输入LEFT键,就会移动到上一单元格, 而在插入符号的位置为末位时,如果输入RIGHT键,就会移动到下一单元格。
如果为false,就不会脱离编辑器。
默认值为true.
grid.setOptions({
edit: {
moveByArrowKeys: false,
useTabKey: false
}
});
grid.setEditOptions({
moveByArrowKeys: false,
useTabKey: false
});
grid.editOptions().setMoveByArrowKeys(false);