Grid Public Interface
Rows Copy Page Open additional page export options
This reference details the three row types supported by LyteNyte Grid: leaf, group, and aggregated.
The RowNode type represents a union of the three row types. While this section provides a
reference for each row type, grid APIs typically use the RowNode type rather than an
individual row type.
type RowNode < T > = RowLeaf < T > | RowGroup | RowAggregated ;
For more details on row nodes, see the Row Overview guide .
The data associated with the row.
Indicates how deep the row is in the grouping hierarchy. A value of 0 indicates the row is at the root of the grouping tree.
Base ID for the dialog content element. This ID is used to associate ARIA attributes and to generate related IDs when needed.
The operating mode of the SmartSelect component.
parentId string | null | undefined
The ID of the parent row, if the row has a parent. This value is populated only when rows are grouped.
An error associated with the row, often as a result of failing to load row data from the server.
Whether the row is currently in a loading state. A loading row may still contain data, but the data is likely stale.
data Record<string, unknown>
The data associated with the row.
Indicates how deep the row is in the grouping hierarchy. A value of 0 indicates the row is at the root of the grouping tree.
Whether the row group can be expanded.
Whether the row group is currently expanded.
Base ID for the dialog content element. This ID is used to associate ARIA attributes and to generate related IDs when needed.
The group key for the row. This value can be null, which indicates a blank value at this group level.
The operating mode of the SmartSelect component.
Whether the row group is the last group at its grouping level.
parentId string | null | undefined
The ID of the parent row, if the row has a parent. This value is populated only when rows are grouped.
An error associated with the row, often as a result of failing to load row data from the server.
errorGroup
optional
unknown
An error associated with the row group, typically caused by a failure to expand or collapse the group.
Whether the row is currently in a loading state. A loading row may still contain data, but the data is likely stale.
loadingGroup
optional
boolean
Whether the row group expansion is currently loading.
data Record<string, unknown>
The data associated with the row.
Indicates how deep the row is in the grouping hierarchy. A value of 0 indicates the row is at the root of the grouping tree.
Base ID for the dialog content element. This ID is used to associate ARIA attributes and to generate related IDs when needed.
The operating mode of the SmartSelect component.
parentId string | null | undefined
The ID of the parent row, if the row has a parent. This value is populated only when rows are grouped.
An error associated with the row, often as a result of failing to load row data from the server.
Whether the row is currently in a loading state. A loading row may still contain data, but the data is likely stale.