Skip to main content

Quick Column Customization Button

  • 2 minutes to read

The Quick Column Customization button is displayed at the intersection of the column header panel and the node indicator. Users can click this button to invoke the Quick Column Customization dropdown that displays column captions in a checklist. A click on a column caption or a check box next to it allows users to change the column’s visibility both at design and runtime, without a switch to the Customization Form, Component Editor, or Object Inspector.

VCL Tree List: A Quick Column Customization Button

To select multiple items in the dropdown, users can:

  • Press and hold the left mouse button and move the mouse pointer over items.

  • Hold down the Shift key and click items.

  • Use the Shift+Up Arrow or Shift+Down Arrow key combination.

  • Hold down the Ctrl key with any of the above methods to invert selection and thus select non-contiguous items.

Users can press the Space key to toggle the checked state of selected items.

The table below lists the main properties that relate to the Quick Column Customization button.

Visibility

The TreeList control’s OptionsCustomizing.ColumnsQuickCustomization property.

Appearance

The Quick Column Customization button is an indicator cell. Refer to the Node Indicator topic for information on customizing indicator cells’ appearance.

Dropdown List Content

The dropdown list displays all columns whose Options.Hidden property is set to False.

Use the TreeList control’s OptionsCustomizing.ColumnsQuickCustomizationShowCommands property to switch the visibility of the (All) and (Sorted) check boxes.

Dropdown List Layout

Use the TreeList control’s OptionsCustomizing.ColumnsQuickCustomizationMaxDropDownCount property to constrain the dropdown’s height.

HitTest Information

The TreeList control’s HitTest.HitAtColumnCustomizing property.

See Also