SMART datagrid v.1 > Classes > EditOptions
如果为true,就会在输入enter键时,移动到下个单元格。
如果enterToNextRow为true,就会移动到同一列位置的下个行。
默认值为true.
grid.setOptions({
edit: {
enterToTab: true,
enterToNextRow: true
}
});
grid.setEditOptions({
enterToTab: true,
enterToNextRow: true
});
grid.editOptions().setEnterToTab(true);