CoreInstance

external interface CoreInstance<TData : RowData>(source)

Inheritors

Properties

Link copied to clipboard
abstract val getAllColumns: () -> <Error class: unknown class><Column<TData, *>>

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

Link copied to clipboard
abstract val getAllFlatColumns: () -> <Error class: unknown class><Column<TData, *>>

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

Link copied to clipboard
abstract val getAllLeafColumns: () -> <Error class: unknown class><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 val getColumn: (columnId: String) -> Column<TData, *>

Returns a single column by its ID. API Docs Guide

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

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

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

Returns the row with the given ID. API Docs Guide

Link copied to clipboard
abstract val 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 val 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 val initialState: TableState

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

Link copied to clipboard

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

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

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

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

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

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

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