SMART datagrid v1.4 > Classes > OperateOptions

Back  Forward

DataLudi.OperateOptions.sortStyle  property

하나 이상의 컬럼들을 정렬하는 방식. 

SortStyle 상수로 지정한다. 

기본값은 SortStyle.EXCLUSIVE.

Getter
function sortStyle(): SortStyle
Setter
function setSortStyle(value: SortStyle)
Code -1
    grid.setOptions({
        operate: {
            sortStyle: DataLudi.SortStyle.INCLUSIVE,
            sortingEnabled: true
        }
    });
Code -2
    grid.setOperateOptions({
        sortStyle: DataLudi.SortStyle.INCLUSIVE,
        sortingEnabled: true
    });
Code -3
    grid.operateOptions().setSortStyle(DataLudi.SortStyle.INCLUSIVE);
See Also
sortingEnabled
sortMode
SortStyle
DataColumn.sortable
GridBase.orderBy
Examples
Column Sorting