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

Parameters

columnIndicesColumn indices of the sorted columns.
sortAscendingSorting 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.