SMART datagrid v1.4 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.keepFocusedWhenSelecting  property

true로 지정하면, 방향키 등으로 선택 영역의 범위를 변경하는 동안 포커스셀의 위치를 유지한다. 

기본값은 false.

Getter
function keepFocusedWhenSelecting(): Boolean
Setter
function setKeepFocusedWhenSelecting(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            keepFocusedWhenSelecting: true
        }
    });
Code -2
    grid.setEditOptions({
        keepFocusedWhenSelecting: true
    });
Code -3
    grid.editOptions().setKeepFocusedWhenSelecting(true);
See Also
GridBase.focusedIndex
DisplayOptions.selectStyle
Examples
선택