TableActiveFilters

fun <T : Any, C, E> TableActiveFilters(columns: ImmutableList<ColumnSpec<T, C, E>>, state: TableState<C>, tableData: E, modifier: Modifier = Modifier, strings: StringProvider = DefaultStrings, includeClearAllChip: Boolean = true, filterChips: TableFilterChipStyle<C> = TableFilterChipDefaults.style())

Renders a compact header row with one chip per top-level node of the filter tree. Clicking a condition's chip opens that column's filter panel under the chip; its × resets the filter. A group's × removes the whole group.

Parameters

columns

all column specs used by the table

state

table state containing current filters

tableData

table data passed to the filter panels (custom filters read it)

modifier

layout modifier for the chips row

strings

string provider for localized labels

includeClearAllChip

whether to include a leading "Clear all" chip to reset all filters

filterChips

how the chips are drawn


fun <T : Any, C, E> TableActiveFilters(columns: ImmutableList<ColumnSpec<T, C, E>>, state: TableState<C>, modifier: Modifier = Modifier, strings: StringProvider = DefaultStrings, includeClearAllChip: Boolean = true, filterChips: TableFilterChipStyle<C> = TableFilterChipDefaults.style())

Deprecated

Pass tableData so that clicking a chip opens its filter panel. Removed in 4.0.

Replace with

TableActiveFilters(columns, state, tableData, modifier, strings, includeClearAllChip)

Renders a compact header row with one chip per top-level node of the filter tree. Without table data the chips cannot open filter panels; their × removes the filter. Groups cannot be opened, so an unresolved condition inside a group goes away only with its group or with "Clear all".