vcl-cxgridcustomtableview-dot-tcxcustomgridtableoptionsview.md
Specifies if the height of cells automatically adjusts to fit the content.
property CellAutoHeight: Boolean read; write; default False;
| Type | Default |
|---|---|
| Boolean | False |
Options include:
|
Value
|
Description
| | --- | --- | |
False (default)
|
A grid Table View calculates the height of data rows according to the height of used in-place editors. The height of text editors depends on the font settings.
| |
True
|
A grid Table View can expand cells vertically to fit multi-line content. If the grid View’s OptionsView.DataRowHeight property is set to a positive value, the CellAutoHeight property value is ignored, and the automatic cell height calculation routines are disabled.
Note that a grid Table View’s OnGetCellHeight event occurs only when the cell height is calculated automatically.
|
Note: The CellAutoHeight property value is ignored for:
Stacked cells in a Banded Table View‘s row.
Cells that use the image combo box control as an in-place cell editor.
The CellAutoHeight property’s default value is False.
See Also
TcxCustomGridTableOptionsBehavior.EditAutoHeight
TcxCustomGridTableOptionsView.CellEndEllipsis
TcxCustomGridTableOptionsView.CellTextMaxLineCount
TcxCustomGridTableOptionsView Class