Skip to main content
All docs
V24.2

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

TableRowHeight Interface

Contains height settings.

#Declaration

TypeScript
export interface TableRowHeight

#Remarks

Use the TableRow property to specify the row height. You can change the following height settings:

height.value
Explicitly specifies the row height in twips.
height.type
Allows you to switch between the following row height calculation modes:
  • Auto – The TableRowHeight.value property does not affect the row height. The height is calculated automatically based on content.
  • Exact – The TableRowHeight.value property specifies the row height in twips.
  • Minimum – The TableRowHeight.value property specifies the row minimum height in twips. The component can increase the height of a row to fit its content.

The following code snippet adjusts the first row’s height according to content:

js
const subDocument = richEdit.selection.activeSubDocument;
const table = subDocument.tables.getByIndex(0);
const firstRow = table.rows.getByIndex(0);
firstRow.height.type = DevExpress.RichEdit.TableRowHeightType.Auto;

#Properties

#type Property

Specifies the active row height calculation mode.

#Declaration

TypeScript

#Property Value

Type Description
TableRowHeightType

An enumeration value.

#value Property

Specifies the row height according to the type property value.

#Declaration

TypeScript
value: number

#Property Value

Type Description
number

The explicitly specified row height in twips.