TableSettings

data class TableSettings(val rowReorderEnabled: Boolean = false, val isDragEnabled: Boolean = rowReorderEnabled, 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.Left, val fixedColumnsCount: Int = pinnedColumnsCount, val fixedColumnsSide: FixedSide = when (pinnedColumnsSide) { PinnedSide.Left -> FixedSide.Left PinnedSide.Right -> FixedSide.Right }, 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)

Table behavior settings

Constructors

Link copied to clipboard
constructor(rowReorderEnabled: Boolean = false, isDragEnabled: Boolean = rowReorderEnabled, 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.Left, fixedColumnsCount: Int = pinnedColumnsCount, fixedColumnsSide: FixedSide = when (pinnedColumnsSide) { PinnedSide.Left -> FixedSide.Left PinnedSide.Right -> FixedSide.Right }, editingEnabled: Boolean = false, showFooter: Boolean = false, footerPinned: Boolean = true, enableTextSelection: Boolean = false, showVerticalDividers: Boolean = true, showRowDividers: Boolean = true, showHeaderDivider: Boolean = true, showFastFiltersDivider: Boolean = true)

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

Number of fixed columns

Link copied to clipboard

Side to fix columns to

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
Link copied to clipboard

Interaction lock used when row reorder mode is active.

Link copied to clipboard

Effective row reorder flag supporting both the new and deprecated setting names.

Link copied to clipboard

Number of pinned columns

Link copied to clipboard

Side to pin columns to

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 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