Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

MultiColumnHeader.ColumnHeaderClicked

protected void ColumnHeaderClicked(IMGUI.Controls.MultiColumnHeaderState.Column column, int columnIndex);

Parameters

columnColumn clicked.
columnIndexColumn index clicked.

Description

Override to customize the behavior when clicking a column header.

The default behavior toggles the MultiColumnHeaderState.Column.sortedAscending property for the column and calls OnSortingChanged which in turns dispatches the sortingChanged event.

Call base.ColumnHeaderClicked to ensure default handling.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答