Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomGridTableOptionsView.CellAutoHeight Property

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

#Declaration

Delphi
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