ColumnHeaderClicked(Column, int)
Override to customize the behavior when clicking a column header.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
protected virtual void ColumnHeaderClicked(MultiColumnHeaderState.Column column, int columnIndex)
Parameters
Remarks
The default behavior toggles the MultiColumnHeaderState.Column.sortedAscending property for the column and calls MultiColumnHeader.OnSortingChanged which in turns dispatches the MultiColumnHeader.sortingChanged event.
Call base.ColumnHeaderClicked to ensure default handling.