Version

WinTree ColumnSets Overview

WinTree™ supports single or multi-column display of data. This functionality is controlled by the ColumnSettings property on the UltraTree object. The ColumnSettings property defines all the properties that apply to the columns displayed by the WinTree control.

If you have experience with the Infragistics WinGrid™ control, then it may be helpful to know that some of these properties are similar to the properties found in the UltraGridOverride object.

Note
Note

Though these properties are similar to those in the UltraGridOverride object, they do not necessarily behave the same way in the WinTree as they do in WinGrid.

The ColumnSets property is of type ColumnSetsCollection , which is a collection of UltraTreeColumnSet objects each of which define a set of UltraTreeNodeColumns . The UltraTreeColumnSet object defines properties for a set of columns in the tree. Using these properties it is possible to restrict several end-user manipulations of columns. For instance, AllowColMoving determines whether the user can drag-and-drop columns to change their visible positions (for more information, see the Move Columns in WinTree topic). Another commonly used property is AllowSorting (for more information, see the Sort Columns in WinTree topic) that determines whether or not the end-user can click on a column header to sort the rows on that column. All these property settings are applicable to the entire ColumSets Collection in the WinTree through the UltraTreeColumnSettings object. Also each individual ColumnSet can be overridden using the properties of UltraTreeColumnSet and UltraTreeNodeColumn objects.

Note
Note

All the properties of the UltraTreeColumnSet and UltraTreeColumnSettings object s are applicable only when the WinTree control’s ViewStyle property is set to a value other than ‘Standard’.