VisibilityInstance

external interface VisibilityInstance<TData : RowData>(source)

Inheritors

Properties

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 getIsAllColumnsVisible: () -> Boolean

Returns whether all columns are visible API Docs Guide

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

Returns whether any columns are visible 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 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 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 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 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 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 toggleAllColumnsVisible: (value: Boolean?) -> Unit

Toggles the visibility of all columns. API Docs Guide