A plugin that manages the expanded state for tree rows.
Use the following statement to import the plugin:
import { TreeDataState } from '@devexpress/dx-react-grid';
none
Name | Type | Default | Description |
---|---|---|---|
expandedRowIds? | Array<number | string> | IDs of the rows being expanded. | |
defaultExpandedRowIds? | Array<number | string> | [] | IDs of the rows that are initially expanded in the uncontrolled mode. |
onExpandedRowIdsChange? | (expandedRowIds: Array<number | string>) => void | Handles expanded rows changes. |
none
Name | Plugin | Type | Description |
---|---|---|---|
expandedRowIds | Getter | Array<number | string> | Currently expanded rows. |
toggleRowExpanded | Action | ({ rowId }) => void | Expands/collapses the specified row. |