Version: 5.6
public void SetSortingColumns (int[] columnIndices, bool[] sortAscending);

Parameters

columnIndices Column indices of the sorted columns.
sortAscending Sorting order for the column indices specified.

Description

Sets multiple sorting columns and the associated sorting orders.

This function sets multiple sorting columns and the associated sorting orders. The first entry is the primary sorted column. It also triggers the sortingChanged event if the sorting state changes. You can input two empty arrays to clear the sorting columns so no sorting would happen.

See Also: SetSorting.