Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
Data displayAndroid

Tree grid

Named hierarchical disclosures and labeled cells with inherited disabled state.

Public APILumenTreeGridAndroid / Compose

Native example

Use Tree grid

Hosts format cells and control expansion. Unknown and hidden expansion IDs are retained. Custom interactive cells must honor disabled/read-only context.

Tree grid rendered in the Android phone emulator Lumen playground
Captured exampleAndroid phone emulator
kotlin
LumenTreeGrid("Status", columns, records, expandedIds, onExpandedChange)

Reference

Public API

The primary shared and platform-specific options exposed by LumenTreeGrid.

APIValues or typeDefaultDescription
controlled stateStable records and host stateRequiredRetains host values and emits intentional user changes.

Native behavior

Design and accessibility

When to use it

Hosts format cells and control expansion. Unknown and hidden expansion IDs are retained. Custom interactive cells must honor disabled/read-only context.

Accessibility

Named hierarchical disclosures and labeled cells with inherited disabled state.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module