VisibilityInstance

external interface VisibilityInstance<TData : RowData>(source)

Inheritors

Properties

Link copied to clipboard

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

Returns whether all columns are visible API Docs Guide

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

Returns whether any columns are visible API Docs Guide

Link copied to clipboard

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

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 var 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

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

Link copied to clipboard

Returns a flat array of leaf-node columns that are visible. API Docs Guide

Link copied to clipboard
abstract var 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 var setColumnVisibility: (updater: Updater<VisibilityState>) -> Unit

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

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

Toggles the visibility of all columns. API Docs Guide