DataSorter Class

DataSorter class

Summary description for DataSorter.


type DataSorter struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetKeysGets the key list of data sorter.
ClearClear all settings.
GetHasHeadersRepresents whether the range has headers.
SetHasHeadersRepresents whether the range has headers.
AddKey_Int_SortOrderAdds sorted column index and sort order.
AddKey_Int_SortOrder_StringAdds sorted column index and sort order with custom sort list.
AddColorKeyAdds color sort key.
AddKey_Int_SortOnType_SortOrder_ObjectAdds sorted column index and sort order with custom sort list.
GetKey1Represents first sorted column index(absolute position, column A is 0, B is 1, …).
SetKey1Represents first sorted column index(absolute position, column A is 0, B is 1, …).
GetOrder1Represents sort order of the first key.
SetOrder1Represents sort order of the first key.
GetKey2Represents second sorted column index(absolute position, column A is 0, B is 1, …).
SetKey2Represents second sorted column index(absolute position, column A is 0, B is 1, …).
GetOrder2Represents sort order of the second key.
SetOrder2Represents sort order of the second key.
GetKey3Represents third sorted column index(absolute position, column A is 0, B is 1, …).
SetKey3Represents third sorted column index(absolute position, column A is 0, B is 1, …).
GetOrder3Represents sort order of the third key.
SetOrder3Represents sort order of the third key.
GetSortLeftToRightTrue means that sorting orientation is from left to right.False means that sorting orientation is from top to bottom.The default value is false.
SetSortLeftToRightTrue means that sorting orientation is from left to right.False means that sorting orientation is from top to bottom.The default value is false.
GetCaseSensitiveGets and sets whether case sensitive when comparing string.
SetCaseSensitiveGets and sets whether case sensitive when comparing string.
GetSortAsNumberIndicates whether sorting anything that looks like a number.
SetSortAsNumberIndicates whether sorting anything that looks like a number.