DataSorterKey

DataSorterKey class

Represents the key of the data sorter.

class DataSorterKey;

Properties

PropertyTypeDescription
orderSortOrderReadonly. Indicates the order of sorting.
indexnumberReadonly. Gets the sorted column index(absolute position, column A is 0, B is 1, …).
typeSortOnTypeReadonly. Represents the type of sorting.
iconSetTypeIconSetTypeReadonly. Represents the icon set type.
iconIdnumberReadonly. Represents the id of the icon set type.
colorColorReadonly. Gets the sorted color.

order

Readonly. Indicates the order of sorting.

order : SortOrder;

index

Readonly. Gets the sorted column index(absolute position, column A is 0, B is 1, …).

index : number;

type

Readonly. Represents the type of sorting.

type : SortOnType;

iconSetType

Readonly. Represents the icon set type.

iconSetType : IconSetType;

Remarks

Only takes effect when Type is SortOnType.Icon.

iconId

Readonly. Represents the id of the icon set type.

iconId : number;

Remarks

Only takes effect when Type is SortOnType.Icon.

color

Readonly. Gets the sorted color.

color : Color;

Remarks

Only takes effect when Type is SortOnType.CellColor or SortOnType.FontColor.