Skip to main content

TcxCustomGridTableOptionsView.CellAutoHeight Property

Specifies if the height of cells automatically adjusts to fit the content.

Declaration

property CellAutoHeight: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

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:

The CellAutoHeight property’s default value is False.

See Also