CoreRow

external interface CoreRow<TData : RowData>(source)

Inheritors

Properties

Link copied to clipboard
abstract var depth: Int

The depth of the row (if nested or grouped) relative to the root row array. API Docs Guide

Link copied to clipboard
abstract var getAllCells: () -> ReadonlyArray<Cell<TData, *>>

Returns all of the cells for the row. API Docs Guide

Link copied to clipboard
abstract var getLeafRows: () -> ReadonlyArray<Row<TData>>

Returns the leaf rows for the row, not including any parent rows. API Docs Guide

Link copied to clipboard
abstract var getParentRow: () -> Row<TData>

Returns the parent row for the row, if it exists. API Docs Guide

Link copied to clipboard
abstract var getParentRows: () -> ReadonlyArray<Row<TData>>

Returns the parent rows for the row, all the way up to a root row. API Docs Guide

Link copied to clipboard
abstract var getUniqueValues: (columnId: String) -> ReadonlyArray<Any?>

Returns a unique array of values from the row for a given columnId. API Docs Guide

Link copied to clipboard
abstract var getValue: (columnId: String) -> Any?

Returns the value from the row for a given columnId. API Docs Guide

Link copied to clipboard
abstract var id: String

The resolved unique identifier for the row resolved via the options.getRowId option. Defaults to the row's index (or relative index if it is a subRow). API Docs Guide

Link copied to clipboard
abstract var index: Int

The index of the row within its parent array (or the root data array). API Docs Guide

Link copied to clipboard
abstract var original: TData

The original row object provided to the table. If the row is a grouped row, the original row object will be the first original in the group. API Docs Guide

Link copied to clipboard

An array of the original subRows as returned by the options.getSubRows option. API Docs Guide

Link copied to clipboard
abstract var parentId: String?

If nested, this row's parent row id. API Docs Guide

Link copied to clipboard
abstract var renderValue: (columnId: String) -> Any?

Renders the value for the row in a given columnId the same as getValue, but will return the renderFallbackValue if no value is found. API Docs Guide

Link copied to clipboard
abstract var subRows: ReadonlyArray<Row<TData>>

An array of subRows for the row as returned and created by the options.getSubRows option. API Docs Guide