The Column Header Menu

End-users can invoke this menu by right-clicking a column header. Some items, however, can appear disabled, depending on the column's settings.

The image below displays a sample column header menu.

See the table below for descriptions of this menu's items.

Menu Item

Description

Sort Ascending

Sorts data by the values of a column, in ascending order. The item is disabled if the context menu has been activated by clicking the header panel's empty space. It is enabled if the clicked column's TreeListOptionsColumn.AllowSort option is enabled.

Sort Descending

Sorts data by the values of a column, in descending order. The item is disabled if the context menu has been activated by clicking the header panel's empty space. It is enabled if the clicked column's TreeListOptionsColumn.AllowSort option is enabled.

Column Chooser

Invokes the Customization Form.

Best Fit

Changes the width of a column to fit the contents of its cells (equivalent to calling the TreeListColumn.BestFit method for the column). It is disabled if the context menu has been activated by clicking the header panel's empty space.

Best Fit (all columns)

Changes the width of all columns to fit the contents of their cells (equivalent to calling the TreeList.BestFitColumns method).