MCPcopy Create free account
hub / github.com/Autodesk/react-base-table / getExpandedState

Method getExpandedState

src/BaseTable.js:173–179  ·  view source on GitHub ↗

* Get the expanded state, fallback to normal state if not expandable.

()

Source from the content-addressed store, hash-verified

171 * Get the expanded state, fallback to normal state if not expandable.
172 */
173 getExpandedState() {
174 return {
175 expandedData: this._data,
176 expandedRowKeys: this.getExpandedRowKeys(),
177 expandedDepthMap: this._depthMap,
178 };
179 }
180
181 /**
182 * Get the total height of all rows, including expanded rows.

Callers

nothing calls this directly

Calls 1

getExpandedRowKeysMethod · 0.95

Tested by

no test coverage detected