DataSorter.AddKey

AddKey(int, SortOrder)

Adds sorted column index and sort order.

public void AddKey(int key, SortOrder order)
ParameterTypeDescription
keyInt32The sorted column index(absolute position, column A is 0, B is 1, …)
orderSortOrderThe sort order

See Also


AddKey(int, SortOrder, string)

Adds sorted column index and sort order with custom sort list.

public void AddKey(int key, SortOrder order, string customList)
ParameterTypeDescription
keyInt32The sorted column index(absolute position, column A is 0, B is 1, …)
orderSortOrderThe sort order.
customListStringThe custom sort list.

See Also


AddKey(int, SortOnType, SortOrder, object)

Adds sorted column index and sort order with custom sort list.

public void AddKey(int key, SortOnType type, SortOrder order, object customList)
ParameterTypeDescription
keyInt32The sorted column index(absolute position, column A is 0, B is 1, …)
typeSortOnTypeThe sorted value type.
orderSortOrderThe sort order.
customListObjectThe custom sort list.

Remarks

If type is SortOnType.CellColor or SortOnType.FontColor, the customList is Color.

See Also


AddKey(int, SortOrder, string[])

Adds sorted column index and sort order with custom sort list.

public void AddKey(int key, SortOrder order, string[] customList)
ParameterTypeDescription
keyInt32The sorted column index(absolute position, column A is 0, B is 1, …)
orderSortOrderThe sort order.
customListString[]The custom sort list.

See Also