Hierarchy

Hierarchy

Properties

children?: ReactNode
className?: string
data?: any

The data passed to the row component.

// get the row data for the first selected row
let selectedRowData = this.grid.selectedRows[0].data;
disabled?: string | boolean

Sets whether this specific row has disabled functionality for editing and row selection. Default value is false.

this.grid.selectedRows[0].pinned = true;
expanded?: string | boolean

Gets the expanded state of the row.

let isExpanded = row.expanded;
id?: string
index?: string | number

The index of the row.

// get the index of the second selected row
let selectedRowIndex = this.grid.selectedRows[1].index;
pinned?: string | boolean

Sets whether the row is pinned. Default value is false.

this.grid.selectedRows[0].pinned = true;
style?: CSSProperties