React TreeList Row
A row is a visual representation of a node. You can access grid rows using the getVisibleRows() method and within some event handlers, for example, onCellClick, onCellPrepared, onEditorPreparing.
isExpanded
Indicates whether the row is expanded or collapsed. Available if rowType is "data".
key
The row's key. Available if rowType is "data", "detail" or "detailAdaptive".
Keys are provided by the key field of the store that underlies the dataSource. Alternatively, you can set the UI component's keyExpr property. With hierarchical data, keys can be generated automatically if key and keyExpr are not set.
level
The row's hierarchical level. Available if rowType is "data" or "detail".
The row's level is the same as its node's level.
rowIndex
The row's visible index. This index is zero-based and available if rowType is "data", "detail" or "detailAdaptive".
rowType
This field accepts the following values.
- "data"
A row containing data. - "detail"
A row shown in the detail section when a user edits the row in the "form" editing mode. - "detailAdaptive"
A row shown in the detail section of the adaptive column. This column appears when the UI component adapts to the screen or container size. - "header"
The row containing column headers. - "filter"
The filter row.
Properties available in the row object depend on the row type. For example, the node and key properties are available only for "detail", "detailAdaptive" and "data" rows. To get information on a particular property, see its description.
If you have technical questions, please create a support ticket in the DevExpress Support Center.