Properties

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

Sets the page index to 0. API Docs Guide

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 getBottomRows: () -> <Error class: unknown class><Row<TData>>

Returns all bottom pinned rows. API Docs Guide

Link copied to clipboard
abstract val getCanNextPage: () -> Boolean

Returns whether the table can go to the next page. API Docs Guide

Link copied to clipboard
abstract val getCanPreviousPage: () -> Boolean

Returns whether the table can go to the previous page. API Docs Guide

Link copied to clipboard
abstract val getCanSomeRowsExpand: () -> Boolean

Returns whether there are any rows that can be expanded. API Docs Guide

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

If pinning, returns headers for all columns that are not pinned, including parent headers. API Docs Guide

Link copied to clipboard
abstract val getCenterFooterGroups: () -> <Error class: unknown class><HeaderGroup<TData>>

If pinning, returns the footer groups for columns that are not pinned. API Docs Guide

Link copied to clipboard
abstract val getCenterHeaderGroups: () -> <Error class: unknown class><HeaderGroup<TData>>

If pinning, returns the header groups for columns that are not pinned. API Docs Guide

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

Returns all center pinned (unpinned) leaf columns. API Docs Guide

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

If pinning, returns headers for all columns that are not pinned, (not including parent headers). API Docs Guide

Link copied to clipboard
abstract val getCenterRows: () -> <Error class: unknown class><Row<TData>>

Returns all rows that are not pinned to the top or bottom. API Docs Guide

Link copied to clipboard
abstract val getCenterTotalSize: () -> Int

If pinning, returns the total size of the center portion of the table by calculating the sum of the sizes of all unpinned/center leaf-columns. API Docs Guide

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

If column pinning, returns a flat array of leaf-node columns that are visible in the unpinned/center portion of the table. 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 getExpandedDepth: () -> Int

Returns the maximum depth of the expanded rows. API Docs Guide

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

Returns the row model after expansion has been applied. API Docs Guide

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

Returns the row model for the table after column filtering has been applied. API Docs Guide

Link copied to clipboard

Returns the row model of all rows that are selected after filtering has been applied. API Docs Guide

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

Returns headers for all columns in the table, including parent headers. API Docs Guide

Link copied to clipboard
abstract val getFooterGroups: () -> <Error class: unknown class><HeaderGroup<TData>>

Returns the footer groups for the table. API Docs Guide

Link copied to clipboard
abstract val getGlobalAutoFilterFn: () -> FilterFn<TData>

Currently, this function returns the built-in includesString filter function. In future releases, it may return more dynamic filter functions based on the nature of the data provided. API Docs Guide

Link copied to clipboard
abstract val getGlobalFacetedMinMaxValues: () -> <Error class: unknown class><Int, Int>?

Currently, this function returns the built-in includesString filter function. In future releases, it may return more dynamic filter functions based on the nature of the data provided. API Docs Guide

Link copied to clipboard

Returns the row model for the table after global filtering has been applied. API Docs Guide

Link copied to clipboard
abstract val getGlobalFacetedUniqueValues: () -> <Error class: unknown class><Any, Int>

Returns the faceted unique values for the global filter. API Docs Guide

Link copied to clipboard
abstract val getGlobalFilterFn: () -> FilterFn<TData>

Returns the filter function (either user-defined or automatic, depending on configuration) for the global filter. API Docs Guide

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

Returns the row model for the table after grouping has been applied. API Docs Guide

Link copied to clipboard

Returns the row model of all rows that are selected after grouping has been applied. API Docs Guide

Link copied to clipboard
abstract val getHeaderGroups: () -> <Error class: unknown class><HeaderGroup<TData>>

Returns all header groups for the table. API Docs Guide

Link copied to clipboard
abstract val getIsAllColumnsVisible: () -> Boolean

Returns whether all columns are visible API Docs Guide

Link copied to clipboard
abstract val getIsAllPageRowsSelected: () -> Boolean

Returns whether or not all rows on the current page are selected. API Docs Guide

Link copied to clipboard
abstract val getIsAllRowsExpanded: () -> Boolean

Returns whether all rows are currently expanded. API Docs Guide

Link copied to clipboard
abstract val getIsAllRowsSelected: () -> Boolean

Returns whether or not all rows in the table are selected. API Docs Guide

Link copied to clipboard

Returns whether or not any columns are pinned. Optionally specify to only check for pinned columns in either the left or right position. API Docs Guide

Link copied to clipboard
abstract val getIsSomeColumnsVisible: () -> Boolean

Returns whether any columns are visible API Docs Guide

Link copied to clipboard

Returns whether or not any rows on the current page are selected. API Docs Guide

Link copied to clipboard
abstract val getIsSomeRowsExpanded: () -> Boolean

Returns whether there are any rows that are currently expanded. API Docs Guide

Link copied to clipboard
abstract val getIsSomeRowsPinned: (position: RowPinningPosition?) -> Boolean

Returns whether or not any rows are pinned. Optionally specify to only check for pinned rows in either the top or bottom position. API Docs Guide

Link copied to clipboard
abstract val getIsSomeRowsSelected: () -> Boolean

Returns whether or not any rows in the table are selected. API Docs Guide

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

Returns headers for all leaf columns in the table, (not including parent headers). API Docs Guide

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

If pinning, returns headers for all left pinned columns in the table, including parent headers. API Docs Guide

Link copied to clipboard
abstract val getLeftFooterGroups: () -> <Error class: unknown class><HeaderGroup<TData>>

If pinning, returns the footer groups for the left pinned columns. API Docs Guide

Link copied to clipboard
abstract val getLeftHeaderGroups: () -> <Error class: unknown class><HeaderGroup<TData>>

If pinning, returns the header groups for the left pinned columns. API Docs Guide

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

Returns all left pinned leaf columns. API Docs Guide

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

If pinning, returns headers for all left pinned leaf columns in the table, (not including parent headers). API Docs Guide

Link copied to clipboard
abstract val getLeftTotalSize: () -> Int

Returns the total size of the left portion of the table by calculating the sum of the sizes of all left leaf-columns. API Docs Guide

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

If column pinning, returns a flat array of leaf-node columns that are visible in the left portion of the table. API Docs Guide

Link copied to clipboard
abstract val getPageCount: () -> Int

Returns the page count. If manually paginating or controlling the pagination state, this will come directly from the options.pageCount table option, otherwise it will be calculated from the table data using the total row count and current page size. API Docs Guide

Link copied to clipboard
abstract val getPageOptions: () -> <Error class: unknown class><Int>

Returns an array of page options (zero-index-based) for the current page size. API Docs Guide

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

Returns the row model for the table after pagination has been applied. API Docs Guide

Link copied to clipboard

Returns the row model before expansion has been applied. API Docs Guide

Link copied to clipboard

Returns the row model for the table before any column filtering has been applied. API Docs Guide

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

Returns the row model for the table before any grouping has been applied. API Docs Guide

Link copied to clipboard

Returns the row model for the table before any pagination has been applied. API Docs Guide

Link copied to clipboard

Returns the core row model of all rows before row selection has been applied. API Docs Guide

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

Returns the row model for the table before any sorting has been applied. API Docs Guide

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

If pinning, returns headers for all right pinned columns in the table, including parent headers. API Docs Guide

Link copied to clipboard
abstract val getRightFooterGroups: () -> <Error class: unknown class><HeaderGroup<TData>>

If pinning, returns the footer groups for the right pinned columns. API Docs Guide

Link copied to clipboard
abstract val getRightHeaderGroups: () -> <Error class: unknown class><HeaderGroup<TData>>

If pinning, returns the header groups for the right pinned columns. API Docs Guide

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

Returns all right pinned leaf columns. API Docs Guide

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

If pinning, returns headers for all right pinned leaf columns in the table, (not including parent headers). API Docs Guide

Link copied to clipboard
abstract val getRightTotalSize: () -> Int

Returns the total size of the right portion of the table by calculating the sum of the sizes of all right leaf-columns. API Docs Guide

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

If column pinning, returns a flat array of leaf-node columns that are visible in the right portion of the table. 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 getRowCount: () -> Int

Returns the row count. If manually paginating or controlling the pagination state, this will come directly from the options.rowCount table option, otherwise it will be calculated from the table data. 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 getSelectedRowModel: () -> RowModel<TData>

Returns the row model of all rows that are selected. API Docs Guide

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

Returns the row model for the table after sorting has been applied. 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 getToggleAllColumnsVisibilityHandler: () -> (event: Any) -> Unit

Returns a handler for toggling the visibility of all columns, meant to be bound to a input[type=checkbox] element. API Docs Guide

Link copied to clipboard
abstract val getToggleAllPageRowsSelectedHandler: () -> (event: Any) -> Unit

Returns a handler that can be used to toggle all rows on the current page. API Docs Guide

Link copied to clipboard
abstract val getToggleAllRowsExpandedHandler: () -> (event: Any) -> Unit

Returns a handler that can be used to toggle the expanded state of all rows. This handler is meant to be used with an input[type=checkbox] element. API Docs Guide

Link copied to clipboard
abstract val getToggleAllRowsSelectedHandler: () -> (event: Any) -> Unit

Returns a handler that can be used to toggle all rows in the table. API Docs Guide

Link copied to clipboard
abstract val getTopRows: () -> <Error class: unknown class><Row<TData>>

Returns all top pinned rows. API Docs Guide

Link copied to clipboard
abstract val getTotalSize: () -> Int

Returns the total size of the table by calculating the sum of the sizes of all leaf-columns. API Docs Guide

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

Returns a flat array of columns that are visible, including parent columns. API Docs Guide

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

Returns a flat array of leaf-node columns that are visible. 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
abstract val lastPage: () -> Unit

Sets the page index to the last page. API Docs Guide

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

Increments the page index by one, if possible. 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 previousPage: () -> Unit

Decrements the page index by one, if possible. 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 resetColumnFilters: (defaultState: Boolean?) -> Unit

Resets the columnFilters state to initialState.columnFilters, or true can be passed to force a default blank state reset to []. API Docs Guide

Link copied to clipboard
abstract val resetColumnOrder: (defaultState: Boolean?) -> Unit

Resets the columnOrder state to initialState.columnOrder, or true can be passed to force a default blank state reset to []. API Docs Guide

Link copied to clipboard
abstract val resetColumnPinning: (defaultState: Boolean?) -> Unit

Resets the columnPinning state to initialState.columnPinning, or true can be passed to force a default blank state reset to { left: [], right: [], }. API Docs Guide

Link copied to clipboard
abstract val resetColumnSizing: (defaultState: Boolean?) -> Unit

Resets column sizing to its initial state. If defaultState is true, the default state for the table will be used instead of the initialValue provided to the table. API Docs Guide

Link copied to clipboard
abstract val resetColumnVisibility: (defaultState: Boolean?) -> Unit

Resets the column visibility state to the initial state. If defaultState is provided, the state will be reset to {} API Docs Guide

Link copied to clipboard
abstract val resetExpanded: (defaultState: Boolean?) -> Unit

Resets the expanded state of the table to the initial state. API Docs Guide

Link copied to clipboard
abstract val resetGlobalFilter: (defaultState: Boolean?) -> Unit

Resets the globalFilter state to initialState.globalFilter, or true can be passed to force a default blank state reset to undefined. API Docs Guide

Link copied to clipboard
abstract val resetGrouping: (defaultState: Boolean?) -> Unit

Resets the grouping state to initialState.grouping, or true can be passed to force a default blank state reset to []. API Docs Guide

Link copied to clipboard
abstract val resetHeaderSizeInfo: (defaultState: Boolean?) -> Unit

Resets column sizing info to its initial state. If defaultState is true, the default state for the table will be used instead of the initialValue provided to the table. API Docs Guide

Link copied to clipboard
abstract val resetPageIndex: (defaultState: Boolean?) -> Unit

Resets the page index to its initial state. If defaultState is true, the page index will be reset to 0 regardless of initial state. API Docs Guide

Link copied to clipboard
abstract val resetPageSize: (defaultState: Boolean?) -> Unit

Resets the page size to its initial state. If defaultState is true, the page size will be reset to 10 regardless of initial state. API Docs Guide

Link copied to clipboard
abstract val resetPagination: (defaultState: Boolean?) -> Unit

Resets the pagination state to initialState.pagination, or true can be passed to force a default blank state reset to []. API Docs Guide

Link copied to clipboard
abstract val resetRowPinning: (defaultState: Boolean?) -> Unit

Resets the rowPinning state to initialState.rowPinning, or true can be passed to force a default blank state reset to { top: [], bottom: [], }. API Docs Guide

Link copied to clipboard
abstract val resetRowSelection: (defaultState: Boolean?) -> Unit

Resets the rowSelection state to the initialState.rowSelection, or true can be passed to force a default blank state reset to {}. API Docs Guide

Link copied to clipboard
abstract val resetSorting: (defaultState: Boolean?) -> Unit

Resets the sorting state to initialState.sorting, or true can be passed to force a default blank state reset to []. API Docs Guide

Link copied to clipboard
abstract val setColumnFilters: (updater: Updater<<Error class: unknown class><ColumnFilter>>) -> Unit

Sets or updates the state.columnFilters state. API Docs Guide

Link copied to clipboard
abstract val setColumnOrder: (updater: Updater<<Error class: unknown class><String>>) -> Unit

Sets or updates the state.columnOrder state. API Docs Guide

Link copied to clipboard
abstract val setColumnPinning: (updater: Updater<ColumnPinningState>) -> Unit

Sets or updates the state.columnPinning state. API Docs Guide

Link copied to clipboard
abstract val setColumnSizing: (updater: Updater<<Error class: unknown class><String, Int>>) -> Unit

Sets the column sizing state using an updater function or a value. This will trigger the underlying onColumnSizingChange function if one is passed to the table options, otherwise the state will be managed automatically by the table. API Docs Guide

Link copied to clipboard

Sets the column sizing info state using an updater function or a value. This will trigger the underlying onColumnSizingInfoChange function if one is passed to the table options, otherwise the state will be managed automatically by the table. API Docs Guide

Link copied to clipboard
abstract val setColumnVisibility: (updater: Updater<<Error class: unknown class><String, Boolean>>) -> Unit

Sets or updates the state.columnVisibility state. API Docs Guide

Link copied to clipboard
abstract val setExpanded: (updater: Updater<ExpandedState>) -> Unit

Updates the expanded state of the table via an update function or value. API Docs Guide

Link copied to clipboard
abstract val setGlobalFilter: (updater: Updater<*>) -> Unit

Sets or updates the state.globalFilter state. API Docs Guide

Link copied to clipboard
abstract val setGrouping: (updater: Updater<<Error class: unknown class><String>>) -> Unit

Updates the grouping state of the table via an update function or value. 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 setPageCount: (updater: Updater<Int>) -> Unit
Link copied to clipboard
abstract val setPageIndex: (updater: Updater<Int>) -> Unit

Updates the page index using the provided function or value in the state.pagination.pageIndex state. API Docs Guide

Link copied to clipboard
abstract val setPageSize: (updater: Updater<Int>) -> Unit

Updates the page size using the provided function or value in the state.pagination.pageSize state. API Docs Guide

Link copied to clipboard
abstract val setPagination: (updater: Updater<PaginationState>) -> Unit

Sets or updates the state.pagination state. API Docs Guide

Link copied to clipboard
abstract val setRowPinning: (updater: Updater<RowPinningState>) -> Unit

Sets or updates the state.rowPinning state. API Docs Guide

Link copied to clipboard
abstract val setRowSelection: (updater: Updater<<Error class: unknown class><String, Boolean>>) -> Unit

Sets or updates the state.rowSelection state. API Docs Guide

Link copied to clipboard
abstract val setSorting: (updater: Updater<<Error class: unknown class><ColumnSort>>) -> Unit

Sets or updates the state.sorting state. 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

Link copied to clipboard
abstract val toggleAllColumnsVisible: (value: Boolean?) -> Unit

Toggles the visibility of all columns. API Docs Guide

Link copied to clipboard
abstract val toggleAllPageRowsSelected: (value: Boolean?) -> Unit

Selects/deselects all rows on the current page. API Docs Guide

Link copied to clipboard
abstract val toggleAllRowsExpanded: (expanded: Boolean?) -> Unit

Toggles the expanded state for all rows. API Docs Guide

Link copied to clipboard
abstract val toggleAllRowsSelected: (value: Boolean?) -> Unit

Selects/deselects all rows in the table. API Docs Guide