property

GridView

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.

property

Header layout structure currently being rendered in the viewport.

rows

property

Row layout sections (top, center, bottom) rendered in the viewport.

property

HeaderCellFloating

Describes a floating header cell layout, which remains fixed during scroll operations.

colEnd

property

The exclusive ending column index in the visible layout this header covers.

Type

number

colFirstEndPin

property

True if this column is the first column in the set of columns pinned to the end.

Type

boolean

colLastStartPin

property

True if this column is the last column in the set of columns pinned to the start.

Type

boolean

colPin

property

Indicates which pin section this column belongs to: 'start', 'end', or 'center'.

colSpan

property

The number of columns this header spans horizontally.

Type

number

colStart

property

The starting column index in the visible layout this header covers.

Type

number

column

property

A reference to a column definition in LyteNyte Grid.

TypeColumn

id

property

A unique identifier that can be used for rendering keys or tracking elements.

Type

string

kind

property

A discriminator indicating this is a floating (sticky) header cell.

Value

"\"floating\""

rowEnd

property

The exclusive ending row index in the header hierarchy for this cell.

Type

number

rowSpan

property

The number of header rows this header spans vertically.

Type

number

rowStart

property

The starting row index in the header hierarchy for this cell.

Type

number

property

HeaderCellLayout

Describes a standard header cell layout in the grid, used to position and render individual column headers.

colEnd

property

The exclusive ending column index in the visible layout this header covers.

Type

number

colFirstEndPin

property

True if this column is the first column in the set of columns pinned to the end.

Type

boolean

colLastStartPin

property

True if this column is the last column in the set of columns pinned to the start.

Type

boolean

colPin

property

Indicates which pin section this column belongs to: 'start', 'end', or 'center'.

colSpan

property

The number of columns this header spans horizontally.

Type

number

colStart

property

The starting column index in the visible layout this header covers.

Type

number

column

property

A reference to a column definition in LyteNyte Grid.

TypeColumn

id

property

A unique identifier that can be used for rendering keys or tracking elements.

Type

string

kind

property

A discriminator indicating this is a standard header cell.

Value

"\"cell\""

rowEnd

property

The exclusive ending row index in the header hierarchy for this cell.

Type

number

rowSpan

property

The number of header rows this header spans vertically.

Type

number

rowStart

property

The starting row index in the header hierarchy for this cell.

Type

number

property

HeaderGroupCellLayout

Describes a group of columns within the header. Used by LyteNyte Grid to render grouped column headers with optional collapsibility and structural metadata.

colEnd

property

The exclusive ending column index in the visible layout this header covers.

Type

number

colFirstEndPin

property

True if this column is the first column in the set of columns pinned to the end.

Type

boolean

colLastStartPin

property

True if this column is the last column in the set of columns pinned to the start.

Type

boolean

colPin

property

Indicates which pin section this column belongs to: 'start', 'end', or 'center'.

colSpan

property

The number of columns this header spans horizontally.

Type

number

colStart

property

The starting column index in the visible layout this header covers.

Type

number

columnIds

property

Column ids that are included within this header group.

No properties

end

property

Exclusive end index of the group in the column layout.

Type

number

groupPath

property

Hierarchy path representing this column group's position and ancestry.

No properties

id

property

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.

Type

string

idOccurrence

property

Unique identifier that includes header split occurrence information.

Type

string

isCollapsible

property

Indicates whether this column group can be collapsed in the UI.

Type

boolean

isHiddenMove

property

Indicates that this is a temporary placeholder group for drag-and-drop movement. Should be ignored for typical rendering.

Type

boolean

kind

property

Discriminant indicating this layout item is a header group.

Value

"\"group\""

rowEnd

property

The exclusive ending row index in the header hierarchy for this cell.

Type

number

rowSpan

property

The number of header rows this header spans vertically.

Type

number

rowStart

property

The starting row index in the header hierarchy for this cell.

Type

number

start

property

Start index of the group in the column layout.

Type

number

property

HeaderLayout

Defines the overall structure of header rows in the grid. This layout is recalculated based on viewport changes and virtualized rendering.

layout

property

Two-dimensional array of header layout cells organized by row hierarchy.

No properties

maxCol

property

Total number of columns involved in the header layout.

Type

number

maxRow

property

Total number of header rows rendered, including groups and nested headers.

Type

number

property

HeaderLayoutCell

Represents a union of all possible header layout cell types: normal header, floating header, or header group.

Type

HeaderCellLayout | HeaderCellFloating | HeaderGroupCellLayout

Variants

  • HeaderCellLayout (docs)
  • HeaderCellFloating (docs)
  • HeaderGroupCellLayout (docs)

property

RowCellLayout

Represents the layout metadata for a single cell within a row, including span and contextual info.

colFirstEndPin

property

True if this column is the first column in the set of columns pinned to the end.

Type

boolean

colIndex

property

The zero-based index of the column.

Type

number

colLastStartPin

property

True if this column is the last column in the set of columns pinned to the start.

Type

boolean

colPin

property

The pinning state of a column, used to fix it to the left or right side.

colSpan

property

Number of columns this cell spans across.

Type

number

column

property

A reference to a column definition in LyteNyte Grid.

TypeColumn

id

property

A unique identifier that can be used for rendering keys or tracking elements.

Type

string

kind

property

Discriminator to identify a standard cell layout object.

Value

"\"cell\""

row

property

A reactive atom for the row node, allowing updates without subscriptions.

rowFirstPinBottom

property

True if this row is the first row pinned to the bottom of the grid.

Type

boolean

rowIndex

property

The zero-based index of the row.

Type

number

rowIsFocusRow

property

True if this row contains the currently focused cell and should be included in layout calculation.

Type

boolean

rowLastPinTop

property

True if this row is the last row pinned to the top of the grid.

Type

boolean

rowPin

property

The pinning state of a row, used to fix it to the top or bottom of the grid.

TypeRowPin

rowSpan

property

Number of rows this cell spans across.

Type

number

property

RowFullWidthRowLayout

Describes the layout of a full-width row which spans all columns. These are typically used for summary or group rows.

id

property

A unique identifier that can be used for rendering keys or tracking elements.

Type

string

kind

property

Discriminator for identifying full-width row layout objects.

Value

"\"full-width\""

row

property

A reactive atom for the row node, allowing updates without subscriptions.

rowFirstPinBottom

property

True if this row is the first row pinned to the bottom of the grid.

Type

boolean

rowIndex

property

The zero-based index of the row.

Type

number

rowIsFocusRow

property

True if this row contains the currently focused cell and should be included in layout calculation.

Type

boolean

rowLastPinTop

property

True if this row is the last row pinned to the top of the grid.

Type

boolean

rowPin

property

The pinning state of a row, used to fix it to the top or bottom of the grid.

TypeRowPin

property

RowLayout

A row layout is either a standard row or a full-width row, depending on its content and configuration.

Type

RowNormalRowLayout | RowFullWidthRowLayout

Variants

  • RowNormalRowLayout (docs)
  • RowFullWidthRowLayout (docs)

property

RowNormalRowLayout

Describes the layout of a standard row in LyteNyte Grid, including cell arrangement and row-level metadata.

cells

property

List of cell layout metadata for this row.

No properties

id

property

A unique identifier that can be used for rendering keys or tracking elements.

Type

string

kind

property

Discriminator identifying this layout as a normal row.

Value

"\"row\""

row

property

A reactive atom for the row node, allowing updates without subscriptions.

rowFirstPinBottom

property

True if this row is the first row pinned to the bottom of the grid.

Type

boolean

rowIndex

property

The zero-based index of the row.

Type

number

rowIsFocusRow

property

True if this row contains the currently focused cell and should be included in layout calculation.

Type

boolean

rowLastPinTop

property

True if this row is the last row pinned to the top of the grid.

Type

boolean

rowPin

property

The pinning state of a row, used to fix it to the top or bottom of the grid.

TypeRowPin

property

RowSectionLayouts

Organizes the rows into three separate sections: top (pinned), center (scrollable), and bottom (pinned). Used to optimize row virtualization and rendering.

bottom

property

Layout information for pinned rows at the bottom of the grid.

No properties

center

property

Layout information for scrollable rows in the grid.

No properties

rowBottomTotalHeight

property

Cumulative height of all bottom-pinned rows in pixels.

Type

number

rowCenterTotalHeight

property

Cumulative height of all scrollable center rows in pixels.

Type

number

rowFirstCenter

property

Index of the first center (scrollable) row.

Type

number

rowFocusedIndex

property

Index of the currently focused row, if it exists. Focused rows may appear in the layout even if not otherwise visible.

Type

null | number

Variants

  • null
  • number

rowTopTotalHeight

property

Cumulative height of all top-pinned rows in pixels.

Type

number

top

property

Layout information for pinned rows at the top of the grid.

No properties

property

ViewBounds

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.

colCenterEnd

property

End index of scrollable columns to render.

Type

number

colCenterLast

property

Index one past the last possible scrollable column in the grid.

Type

number

colCenterStart

property

Start index of scrollable columns to render.

Type

number

colEndEnd

property

Index one past the last column pinned to the end.

Type

number

colEndStart

property

Index of the first column pinned to the end (right side for LTR).

Type

number

colStartEnd

property

Index one past the last column pinned to the start.

Type

number

colStartStart

property

Index of the first column pinned to the start (left side for LTR).

Type

number

rowBotEnd

property

Index just past the last bottom-pinned row.

Type

number

rowBotStart

property

Index of the first row pinned to the bottom of the grid.

Type

number

rowCenterEnd

property

End index of the scrollable rows that should be rendered.

Type

number

rowCenterLast

property

Index one past the last possible scrollable row in the dataset.

Type

number

rowCenterStart

property

Start index of the scrollable rows that should be rendered in the viewport.

Type

number

rowTopEnd

property

Index just past the last top-pinned row. Equal to 1 + number of pinned rows .

Type

number

rowTopStart

property

Index of the first row pinned to the top of the grid. This will always be 0.

Type

number