CoreInstance

external interface CoreInstance<TData : RowData>(source)

Inheritors

Properties

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

Returns all columns in the table in their normalized and nested hierarchy. API Docs Guide

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

Returns all columns in the table flattened to a single level. API Docs Guide

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

Returns all leaf-node columns in the table flattened to a single level. This does not include parent columns. API Docs Guide

Link copied to clipboard
abstract var getColumn: (columnId: String) -> Column<TData, *>

Returns a single column by its ID. API Docs Guide

Link copied to clipboard
abstract var getCoreRowModel: () -> RowModel<TData>

Returns the core row model before any processing has been applied. API Docs Guide

Link copied to clipboard
abstract var getRow: (id: String, searchAll: Boolean?) -> Row<TData>

Returns the row with the given ID. API Docs Guide

Link copied to clipboard
abstract var getRowModel: () -> RowModel<TData>

Returns the final model after all processing from other used features has been applied. This is the row model that is most commonly used for rendering. API Docs Guide

Link copied to clipboard
abstract var getState: () -> TableState

Call this function to get the table's current state. It's recommended to use this function and its state, especially when managing the table state manually. It is the exact same state used internally by the table for every feature and function it provides. API Docs Guide

Link copied to clipboard
abstract var initialState: TableState

This is the resolved initial state of the table. API Docs Guide

Link copied to clipboard
abstract var options: Any

A read-only reference to the table's current options. API Docs Guide

Link copied to clipboard
abstract var reset: () -> Unit

Call this function to reset the table state to the initial state. API Docs Guide

Link copied to clipboard
abstract var setOptions: (newOptions: Updater<TableOptionsResolved<TData>>) -> Unit

This function can be used to update the table options. API Docs Guide

Link copied to clipboard
abstract var setState: (updater: Updater<TableState>) -> Unit

Call this function to update the table state. API Docs Guide