Skip to main content
196

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Android docs
Data displayAndroid

Data table

Controlled sorting and selection retain hidden IDs and respect disabled rows.

Public APILumenDataTableAndroid / Compose

Native example

Use Data table

Controlled sorting and selection retain hidden IDs and respect disabled rows. Hosts own application state and business actions.

Data table rendered in the Android phone emulator Lumen playground
Captured exampleAndroid phone emulator
kotlin
LumenDataTable("Packages", columns, rows, sort = sort, onSortChange = onSortChange, selectedIds = selectedIds, onSelectionChange = onSelectionChange)

Reference

Public API

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

APIValues or typeDefaultDescription
host content and stateAdapter-specific public contractRequiredKeeps application data and behavior in the host.

Native behavior

Design and accessibility

When to use it

Controlled sorting and selection retain hidden IDs and respect disabled rows. Hosts own application state and business actions.

Accessibility

Controlled sorting and selection retain hidden IDs and respect disabled rows.

Shared component

Available on other platforms

React NativeApple / SwiftUI
Android docsCompose module