LyteNyte Grid logo for light mode. Links back to the documentation home page.
Github repository for this project. 1771 Technologies home page

Grid Props

This reference details the different properties that you can provide to the LyteNyte Grid component.

The base type for LyteNyte Grid component props is Grid.Props. Grid.Props is a generic type that accepts a GridSpec object. The following example shows the GridSpec interface. For a detailed walkthrough, see the API Extension guide.

export interface GridSpec<
Data = unknown,
ColExt extends Record<string, any> = object,
S extends RowSource<Data> = RowSource,
Ext extends Record<string, any> = object,
> {
readonly data?: Data;
readonly column?: ColExt;
readonly source?: S;
readonly api?: Ext;
}

Properties

Provide these props to the Grid component to configure the LyteNyte Grid.

Grid

Prop

Columns

Prop

Rows

Prop

Row Detail

Prop

Virtualization and Sizing

Prop

Cell Editing

Prop

Cell Selection

Prop