SMART datagrid v1.4 > Classes > OperateOptions

Back  Forward

DataLudi.OperateOptions.keepFocusedRowWhenSort  property

true면 정렬 후에 기존 현재 행 위치를 유지한다. 

기본값은 false.

Getter
function keepFocusedRowWhenSort(): Boolean
Setter
function setKeepFocusedRowWhenSort(value: Boolean)
Code -1
    grid.setOptions({
        operate: {
            keepFocusedRowWhenSort: true
        }
    });
Code -2
    grid.setOperateOptions({
        keepFocusedRowWhenSort: true
    });
Code -3
    grid.operateOptions().setKeepFocusedRowWhenSort(true);
See Also
sortingEnabled
GridBase.focusedIndex
GridBase.focusedRow
Examples
컬럼 정렬