Predicate function to determine if a row should render in full-width mode. Commonly used for custom summary or grouped views.
params | RowFullWidthPredicateParams (docs) |
boolean
Parameters provided to the RowFullWidthPredicate function to determine if a row should span full width of the grid.
A reference to the LyteNyte Grid instance.
Type | Grid |
The row node instance in LyteNyte Grid.
Type | RowNode |
The zero-based index of the row.
number
Function to render the full-width row content. Returns a ReactNode to be rendered as the row.
params | RowFullWidthRendererParams (docs) |
ReactNode
Parameters provided to the full-width row renderer. Includes row metadata and selection state.
A reference to the LyteNyte Grid instance.
Type | Grid |
The row node instance in LyteNyte Grid.
Type | RowNode |
Indicates whether the row is in an indeterminate selection state.
boolean
The zero-based index of the row.
number
Indicates whether the row is currently selected.
boolean
Represents a group (branch) row which may contain children rows (leaf or other groups). Group rows are used in hierarchical views and support expansion/collapse behavior.
Group-level aggregated or summarized data. Must be an object with string keys; values may be any type depending on aggregation strategy.
Type | Record |
Depth level from the root; used to determine visual indenting and structure.
number
An error object associated with this row. The type is intentionally flexible, and should be interpreted by the consumer based on context.
unknown
A unique id
for a given row. The id
is generated by a given RowDataSource .
Every row must have a unique id
.
string
The group key used to organize this branch in the hierarchy. Acts as part of the grouping path.
null | string
null
string
Discriminant used to identify this row as a RowGroup
.
"\"branch\""
An optional flag indicating whether the row is currently loading data. Useful for asynchronous data loading scenarios.
boolean
A height configuration for rows. May be:
fill:1
),number | | (i: ) => number
number
(i: ) => number
Represents a leaf row in the grid. A leaf row is a terminal node that has no children. These rows typically represent the raw dataset and are used for aggregations and visual representation.
The data payload associated with this row. Usually a plain object or array, this is passed to column field logic to extract cell values.
null | T
null
T
An error object associated with this row. The type is intentionally flexible, and should be interpreted by the consumer based on context.
unknown
A unique id
for a given row. The id
is generated by a given RowDataSource .
Every row must have a unique id
.
string
Discriminant used to identify this row as a RowLeaf
.
"\"leaf\""
An optional flag indicating whether the row is currently loading data. Useful for asynchronous data loading scenarios.
boolean
Indicates the pinning position of a row:
"top" | "bottom" | null
"top"
"bottom"
null
Specifies which section of the grid a row belongs to:
"top" | "bottom" | "center" | "flat"
"top"
"bottom"
"center"
"flat"