ExpandedInstance

external interface ExpandedInstance<TData : RowData>(source)

Inheritors

Properties

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

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

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

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

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

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

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

Returns whether all rows are currently expanded. API Docs Guide

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

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

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

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

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

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

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

Toggles the expanded state for all rows. API Docs Guide