Skip to main content

TcxTreeListColumn.OnGetDisplayText Event

Enables you to specify the display text for a data cell.

Declaration

property OnGetDisplayText: TcxTreeListOnGetDisplayTextEvent read; write;

Remarks

The Sender parameter specifies the column to which the currently processed cell belongs.

The ANode parameter specifies the node in which the cell resides.

Use the Value parameter to return the display text for the value displayed in the data cell identified by the Sender and ANode parameters. By default, the Value parameter contains a string representation of the cell value.

To format both a cell’s display value and edit value, assign an in-place editor to a column via the column’s Properties property. To dynamically assign in-place editors to particular column cells, handle the column’s OnGetEditProperties and OnGetEditingProperties events.

See Also