Represents the current visual layout of the grid including headers and rows. This structure is used by LyteNyte Grid headless components or for building custom visualizations.
Header layout structure currently being rendered in the viewport.
Type | HeaderLayout |
Row layout sections (top, center, bottom) rendered in the viewport.
Describes a floating header cell layout, which remains fixed during scroll operations.
The exclusive ending column index in the visible layout this header covers.
number
True if this column is the first column in the set of columns pinned to the end.
boolean
True if this column is the last column in the set of columns pinned to the start.
boolean
Indicates which pin section this column belongs to: 'start', 'end', or 'center'.
Type | ColumnPin |
The number of columns this header spans horizontally.
number
The starting column index in the visible layout this header covers.
number
A reference to a column definition in LyteNyte Grid.
Type | Column |
A unique identifier that can be used for rendering keys or tracking elements.
string
A discriminator indicating this is a floating (sticky) header cell.
"\"floating\""
The exclusive ending row index in the header hierarchy for this cell.
number
The number of header rows this header spans vertically.
number
The starting row index in the header hierarchy for this cell.
number
Describes a standard header cell layout in the grid, used to position and render individual column headers.
The exclusive ending column index in the visible layout this header covers.
number
True if this column is the first column in the set of columns pinned to the end.
boolean
True if this column is the last column in the set of columns pinned to the start.
boolean
Indicates which pin section this column belongs to: 'start', 'end', or 'center'.
Type | ColumnPin |
The number of columns this header spans horizontally.
number
The starting column index in the visible layout this header covers.
number
A reference to a column definition in LyteNyte Grid.
Type | Column |
A unique identifier that can be used for rendering keys or tracking elements.
string
A discriminator indicating this is a standard header cell.
"\"cell\""
The exclusive ending row index in the header hierarchy for this cell.
number
The number of header rows this header spans vertically.
number
The starting row index in the header hierarchy for this cell.
number
Describes a group of columns within the header. Used by LyteNyte Grid to render grouped column headers with optional collapsibility and structural metadata.
The exclusive ending column index in the visible layout this header covers.
number
True if this column is the first column in the set of columns pinned to the end.
boolean
True if this column is the last column in the set of columns pinned to the start.
boolean
Indicates which pin section this column belongs to: 'start', 'end', or 'center'.
Type | ColumnPin |
The number of columns this header spans horizontally.
number
The starting column index in the visible layout this header covers.
number
Column ids that are included within this header group.
No properties
Exclusive end index of the group in the column layout.
number
Hierarchy path representing this column group's position and ancestry.
No properties
The id for the header group. Note this is not unique across all header groups. In particular
split header groups with the same path will share the same id. Prefer idOccurrence
for unique keys.
string
Unique identifier that includes header split occurrence information.
string
Indicates whether this column group can be collapsed in the UI.
boolean
Indicates that this is a temporary placeholder group for drag-and-drop movement. Should be ignored for typical rendering.
boolean
Discriminant indicating this layout item is a header group.
"\"group\""
The exclusive ending row index in the header hierarchy for this cell.
number
The number of header rows this header spans vertically.
number
The starting row index in the header hierarchy for this cell.
number
Start index of the group in the column layout.
number
Defines the overall structure of header rows in the grid. This layout is recalculated based on viewport changes and virtualized rendering.
Two-dimensional array of header layout cells organized by row hierarchy.
No properties
Total number of columns involved in the header layout.
number
Total number of header rows rendered, including groups and nested headers.
number
Represents the layout metadata for a single cell within a row, including span and contextual info.
True if this column is the first column in the set of columns pinned to the end.
boolean
The zero-based index of the column.
number
True if this column is the last column in the set of columns pinned to the start.
boolean
The pinning state of a column, used to fix it to the left or right side.
Type | ColumnPin |
Number of columns this cell spans across.
number
A reference to a column definition in LyteNyte Grid.
Type | Column |
A unique identifier that can be used for rendering keys or tracking elements.
string
Discriminator to identify a standard cell layout object.
"\"cell\""
A reactive atom for the row node, allowing updates without subscriptions.
True if this row is the first row pinned to the bottom of the grid.
boolean
The zero-based index of the row.
number
True if this row contains the currently focused cell and should be included in layout calculation.
boolean
True if this row is the last row pinned to the top of the grid.
boolean
The pinning state of a row, used to fix it to the top or bottom of the grid.
Type | RowPin |
Number of rows this cell spans across.
number
Describes the layout of a full-width row which spans all columns. These are typically used for summary or group rows.
A unique identifier that can be used for rendering keys or tracking elements.
string
Discriminator for identifying full-width row layout objects.
"\"full-width\""
A reactive atom for the row node, allowing updates without subscriptions.
True if this row is the first row pinned to the bottom of the grid.
boolean
The zero-based index of the row.
number
True if this row contains the currently focused cell and should be included in layout calculation.
boolean
True if this row is the last row pinned to the top of the grid.
boolean
The pinning state of a row, used to fix it to the top or bottom of the grid.
Type | RowPin |
Describes the layout of a standard row in LyteNyte Grid, including cell arrangement and row-level metadata.
List of cell layout metadata for this row.
No properties
A unique identifier that can be used for rendering keys or tracking elements.
string
Discriminator identifying this layout as a normal row.
"\"row\""
A reactive atom for the row node, allowing updates without subscriptions.
True if this row is the first row pinned to the bottom of the grid.
boolean
The zero-based index of the row.
number
True if this row contains the currently focused cell and should be included in layout calculation.
boolean
True if this row is the last row pinned to the top of the grid.
boolean
The pinning state of a row, used to fix it to the top or bottom of the grid.
Type | RowPin |
Organizes the rows into three separate sections: top (pinned), center (scrollable), and bottom (pinned). Used to optimize row virtualization and rendering.
Layout information for pinned rows at the bottom of the grid.
No properties
Layout information for scrollable rows in the grid.
No properties
Cumulative height of all bottom-pinned rows in pixels.
number
Cumulative height of all scrollable center rows in pixels.
number
Index of the first center (scrollable) row.
number
Index of the currently focused row, if it exists. Focused rows may appear in the layout even if not otherwise visible.
null | number
null
number
Cumulative height of all top-pinned rows in pixels.
number
Layout information for pinned rows at the top of the grid.
No properties
Defines the viewport boundaries for rendering rows and columns in LyteNyte Grid. These bounds are calculated based on the scroll position and the visible area of the grid.
End index of scrollable columns to render.
number
Index one past the last possible scrollable column in the grid.
number
Start index of scrollable columns to render.
number
Index one past the last column pinned to the end.
number
Index of the first column pinned to the end (right side for LTR).
number
Index one past the last column pinned to the start.
number
Index of the first column pinned to the start (left side for LTR).
number
Index just past the last bottom-pinned row.
number
Index of the first row pinned to the bottom of the grid.
number
End index of the scrollable rows that should be rendered.
number
Index one past the last possible scrollable row in the dataset.
number
Start index of the scrollable rows that should be rendered in the viewport.
number
Index just past the last top-pinned row. Equal to 1 + number of pinned rows
.
number
Index of the first row pinned to the top of the grid. This will always be 0.
number