Skip to main content
A newer version of this page is available. .

TcxTreeListColumn.OnGetEditProperties Event

Enables you to dynamically specify a cell‘s display value formatting editor type.

Declaration

property OnGetEditProperties: TcxTreeListGetEditPropertiesEvent read; write;

Remarks

By default, all cells of a column use the same display value formatting editor determined by the column’s Properties, PropertiesClass, PropertiesClassName, or RepositoryItem property. To provide different formatting editors for cell display values, handle the OnGetEditProperties event.

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

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

A cell being processed is identified by the Sender and ANode parameter values. Pass the cell’s editor property type via the EditProperties parameter. To provide different editor properties within the event, use the edit repository (the TcxEditRepository component) as a store for editor properties. Create repository items corresponding to specific editors, and adjust their properties as your needs dictate. Then, use the Properties object of these repository items to pass it via the EditProperties parameter.

To provide different in-place editors for a column’s cells, handle the column’s OnGetEditingProperties event.

See Also