TcxGridTableOptionsView.HeaderAutoHeight Property
Specifies if the grid View automatically adjusts the height of data item headers to display all captions in full.
Declaration
property HeaderAutoHeight: Boolean read; write; default False;
Property Value
| Type | Default | Description |
|---|---|---|
| Boolean | False |
|
Remarks
Set the HeaderAutoHeight property to True to automatically adjust the height of data item headers according to their content. This option is useful if you need to display multi-line captions as demonstrated in the following code example.
Code Example: Display Multi-Line Column Captions
The following code example displays multi-line captions in headers of two unbound banded columns:
cxGrid1BandedTableView1.OptionsView.HeaderAutoHeight := True;
cxBandedTableView1Column2.Caption := 'Support' + #13#10 + 'Requests';
cxBandedTableView1Column3.Caption := 'Last Support' + #13#10 + 'Request';

Default Value
The HeaderAutoHeight property’s default value is False.
See Also