ExpandedInstance

external interface ExpandedInstance<TData : RowData>(source)

Inheritors

Properties

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

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

Link copied to clipboard
abstract var getExpandedDepth: () -> Int

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

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

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

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

Returns whether all rows are currently expanded. API Docs Guide

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

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

Link copied to clipboard

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

Link copied to clipboard
abstract var 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 var resetExpanded: (defaultState: Boolean?) -> Unit

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

Link copied to clipboard
abstract var 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 var toggleAllRowsExpanded: (expanded: Boolean?) -> Unit

Toggles the expanded state for all rows. API Docs Guide