DataSorterKey

DataSorterKey class

Represents the key of the data sorter.

Methods

NameDescription
getColor()Gets the sorted color. Only takes effect when Type is SortOnType.CELL_COLOR or SortOnType.FONT_COLOR.
getIconId()Represents the id of the icon set type. Only takes effect when Type is SortOnType.ICON.
getIconSetType()Represents the icon set type. The value of the property is IconSetType integer constant. Only takes effect when Type is
getIndex()Gets the sorted column index(absolute position, column A is 0, B is 1, …).
getOrder()Indicates the order of sorting. The value of the property is SortOrder integer constant.
getType()Represents the type of sorting. The value of the property is SortOnType integer constant.

getColor()

Gets the sorted color. Only takes effect when Type is SortOnType.CELL_COLOR or SortOnType.FONT_COLOR.

getIconId()

Represents the id of the icon set type. Only takes effect when Type is SortOnType.ICON.

getIconSetType()

Represents the icon set type. The value of the property is IconSetType integer constant. Only takes effect when Type is SortOnType.ICON.

getIndex()

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

getOrder()

Indicates the order of sorting. The value of the property is SortOrder integer constant.

getType()

Represents the type of sorting. The value of the property is SortOnType integer constant.