DataSorterKey

DataSorterKey class

Represents the key of the data sorter.

class DataSorterKey;

Methods

MethodDescription
getOrder()Indicates the order of sorting.
getIndex()Gets the sorted column index(absolute position, column A is 0, B is 1, …).
getType()Represents the type of sorting.
getIconSetType()Represents the icon set type.
getIconId()Represents the id of the icon set type.
getColor()Gets the sorted color.
isNull()Checks whether the implementation object is null.

getOrder()

Indicates the order of sorting.

getOrder() : SortOrder;

Returns

SortOrder

getIndex()

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

getIndex() : number;

getType()

Represents the type of sorting.

getType() : SortOnType;

Returns

SortOnType

getIconSetType()

Represents the icon set type.

getIconSetType() : IconSetType;

Returns

IconSetType

Remarks

Only takes effect when Type is SortOnType.Icon.

getIconId()

Represents the id of the icon set type.

getIconId() : number;

Remarks

Only takes effect when Type is SortOnType.Icon.

getColor()

Gets the sorted color.

getColor() : Color;

Returns

Color

Remarks

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

isNull()

Checks whether the implementation object is null.

isNull() : boolean;