TableSettings

data class TableSettings(val rowReorderEnabled: Boolean = false, val autoApplyFilters: Boolean = true, val showFastFilters: Boolean = false, val autoFilterDebounce: Long = 300, val stripedRows: Boolean = false, val showActiveFiltersHeader: Boolean = false, val selectionMode: SelectionMode = SelectionMode.None, val rowHeightMode: RowHeightMode = RowHeightMode.Fixed, val groupContentAlignment: Alignment = Alignment.CenterStart, val enableDragToScroll: Boolean = getPlatform().isMobile(), val pinnedColumnsCount: Int = 0, val pinnedColumnsSide: PinnedSide = PinnedSide.Start, val editingEnabled: Boolean = false, val showFooter: Boolean = false, val footerPinned: Boolean = true, val enableTextSelection: Boolean = false, val showVerticalDividers: Boolean = true, val showRowDividers: Boolean = true, val showHeaderDivider: Boolean = true, val showFastFiltersDivider: Boolean = true, val showColumnMenuButton: Boolean = false, val motion: TableMotion = TableMotion.System, val pinnedStartCount: Int = 0, val pinnedEndCount: Int = 0)

Table behavior settings

Constructors

Link copied to clipboard
constructor(rowReorderEnabled: Boolean = false, autoApplyFilters: Boolean = true, showFastFilters: Boolean = false, autoFilterDebounce: Long = 300, stripedRows: Boolean = false, showActiveFiltersHeader: Boolean = false, selectionMode: SelectionMode = SelectionMode.None, rowHeightMode: RowHeightMode = RowHeightMode.Fixed, groupContentAlignment: Alignment = Alignment.CenterStart, enableDragToScroll: Boolean = getPlatform().isMobile(), pinnedColumnsCount: Int = 0, pinnedColumnsSide: PinnedSide = PinnedSide.Start, editingEnabled: Boolean = false, showFooter: Boolean = false, footerPinned: Boolean = true, enableTextSelection: Boolean = false, showVerticalDividers: Boolean = true, showRowDividers: Boolean = true, showHeaderDivider: Boolean = true, showFastFiltersDivider: Boolean = true, showColumnMenuButton: Boolean = false, motion: TableMotion = TableMotion.System, pinnedStartCount: Int = 0, pinnedEndCount: Int = 0)

Properties

Link copied to clipboard

Automatically apply filters while typing

Link copied to clipboard

Delay for automatic filter application (ms)

Link copied to clipboard

Enable cell editing mode for the table. When disabled, all column-level edit settings are ignored.

Link copied to clipboard

Enable drag-to-scroll functionality. When disabled, traditional scrollbars are used instead.

Link copied to clipboard

Enable text selection in table rows (wraps body in SelectionContainer)

Link copied to clipboard

Pin footer at the bottom (only for non-embedded tables)

Link copied to clipboard

Group content alignment

Link copied to clipboard

Interaction lock used when row reorder mode is active.

Link copied to clipboard

Whether the table animates; TableMotion.System follows the platform's reduced-motion setting.

Link copied to clipboard

Initial number of columns pinned at the pinnedColumnsSide edge, added to that side's pinnedStartCount or pinnedEndCount.

Link copied to clipboard

Side pinnedColumnsCount pins to, and the side the deprecated single-side calls (TableColumnsState.pinnedCount, pin(column), canPin(column)) act on.

Link copied to clipboard

Initial number of trailing columns pinned at the end edge. The live count, changed by pinning from the column menu, is ua.wwind.table.state.TableColumnsState.pinnedEndCount.

Link copied to clipboard

Initial number of leading columns pinned at the start edge. The live count, changed by pinning from the column menu, is ua.wwind.table.state.TableColumnsState.pinnedStartCount.

Link copied to clipboard

Row height strategy: Fixed (default) or Dynamic per content.

Link copied to clipboard

Enable drag and drop row reordering.

Link copied to clipboard

Selection mode

Link copied to clipboard

Show built-in active filters header above the table

Link copied to clipboard

Show a ⋮ button in each header with headerDecorations on that opens the column menu. The menu is always reachable by right-click, long-press and Shift+F10 / the Menu key; the button only makes it visible.

Link copied to clipboard

Show fast filters in the table header

Link copied to clipboard

Show horizontal divider below the fast filters row

Link copied to clipboard

Show footer row

Link copied to clipboard

Show horizontal divider below the header

Link copied to clipboard

Show horizontal dividers between rows

Link copied to clipboard

Show vertical dividers between columns

Link copied to clipboard

Show striped rows