TTMSFNCTreeViewDatabaseAdapterColumn Class
Maps a single dataset field to a tree view column, controlling how the field is displayed and edited.
API unit family: TMSFNCTreeViewDatabaseAdapter
Inherits from: TCollectionItem
Syntax
TTMSFNCTreeViewDatabaseAdapterColumn = class(TCollectionItem)
Properties
| Name | Description |
|---|---|
| CheckBoxField | True renders the field value as a check box, using CheckTrue and CheckFalse to match dataset values. Default: False. |
| CheckFalse | Dataset value that maps to the unchecked state when CheckBoxField is True. |
| CheckTrue | Dataset value that maps to the checked state when CheckBoxField is True. |
| Field | The TField object from the active dataset that this column is bound to; nil when the dataset is inactive. |
| FieldName | Name of the dataset field displayed in this column. |
| HTMLTemplate | HTML template string used to render cell content for this column; when non-empty, overrides plain text rendering. |
| Header | Column header text; when empty, the field name is used as the header. |
| PictureField | True renders the field value as a bitmap image. Default: False. |
| ProgressField | True renders the field value as a progress indicator. Default: False. |
| UseColumnEditor | True activates the column editor defined in the tree view's EditorType for this column. Default: False. |
| UseLookupEditor | True uses a lookup drop-down editor for this column when the field has a lookup. Default: True. |
Methods
| Name | Description |
|---|---|
| Adapter | Returns the database adapter that owns this column definition. |