Column object
The ExTree component supports multiple columns. The Columns object contains a collection of Column objects. By default, the control doesn't add any default column, so the user has to add at least one column, before inserting any new items. The Column object holds information about a control's column like: Alignment, Caption, Position and so on. The Column object supports the following properties and methods:

 

NameDescription
AlignmentRetrieves or sets the alignment of the caption into the column's header.
AllowDraggingRetrieves or sets a value indicating whether the user will be able to drag the column.
AllowSizingRetrieves or sets a value indicating whether the user will be able to change the width of the visible columns by dragging.
AllowSortReturns or sets a value that indicates whether the user can sort the column by clicking the column's header.
AutoSearchSpecifies the kind of searching while user types characters within the columns.
AutoWidthComputes the column's width required to fit the entire column's content.
CaptionRetrieves or sets the text displayed to the column's header.
ComputedFieldRetrieves or sets a value that indicates the formula of the computed column.
CustomFilterRetrieves or sets a value that indicates the list of custom filters.
DataAssociates an extra data to the column.
DefRetrieves or sets a value that indicates the default value of given properties for all cells in the same column.
DefaultSortOrderSpecifies whether the default sort order is ascending or descending.
DisplayExpandButtonShows or hides the expanding/collapsing button in the column's header.
DisplayFilterButtonSpecifies whether the column's header displays the filter button.
DisplayFilterDateSpecifies whether the drop down filter window displays a date selector to specify the interval dates to filter for.
DisplayFilterPatternSpecifies whether the dropdown filter bar contains a textbox for editing the filter as pattern.
DisplaySortIconRetrieves or sets a value indicating whether the sort icon is visible on column's header, while the column is sorted.
EnabledReturns or sets a value that determines whether a column's header can respond to user-generated events.
ExpandColumnsSpecifies the list of columns to be shown when the current column is expanded.
ExpandedExpands or collapses the column.
FilterSpecifies the column's filter when filter type is exFilter, exPattern or exDate.
FilterBarDropDownWidthSpecifies the width of the drop down filter window proportionally with the width of the column.
FilterListSpecifies whether the drop down filter list includes visible or all items.
FilterOnTypeFilters the column as user types characters in the drop down filter window.
FilterTypeSpecifies the column's filter type.
FireFormatColumnRetrieves or sets a value that indicates whether the control fires FormatColumn to format the caption of a cell hosted by column.
FormatColumnSpecifies the format to display the cells in the column.
HeaderAlignmentSpecifies the alignment of the column's caption.
HeaderBoldRetrieves or sets a value that indicates whether the column's caption should appear in bold.
HeaderImageRetrieves or sets a value indicating the index of an Image in the Images collection, which is displayed to the column's header.
HeaderImageAlignmentRetrieves or sets the alignment of the image into the column's header.
HeaderItalicRetrieves or sets a value that indicates whether the column's caption should appear in italic.
HeaderStrikeOutRetrieves or sets a value that indicates whether the column's caption should appear in strikeout.
HeaderUnderlineRetrieves or sets a value that indicates whether the column's caption should appear in underline..
HeaderVerticalSpecifies whether the column's header is vertically displayed.
HTMLCaptionRetrieves or sets the text in HTML format displayed in the column's header.
IndexReturns a value that represents the index of an object in a collection.
KeyRetrieves or sets the column's key.
LevelKeyRetrieves or sets a value that indicates the key of the column's level.
MaxWidthAutoResizeRetrieves or sets a value that indicates the maximum column's width when the WidthAutoResize is True.
MinWidthAutoResizeRetrieves or sets a value that indicates the minimum column's width when the WidthAutoResize is True.
PartialCheckSpecifies whether the column supports partial check feature.
PositionRetrieves or sets a value that indicates the position of the column in the header bar area.
ShowFilterShows the column's filter window.
SortOrderSpecifies the column's sort order.
SortPositionReturns or sets a value that indicates the position of the column in the sorting columns collection.
SortTypeReturns or sets a value that indicates the way a control sorts the values for a column.
ToolTipSpecifies the column's tooltip description.
VisibleRetrieves or sets a value indicating whether the column is visible or hidden.
WidthRetrieves or sets the column's width.
WidthAutoResizeRetrieves or sets a value that indicates whether the column is automatically resized according to the width of the contents within the column.