DecoratorConfig

data class DecoratorConfig(val visibleLimitInFields: Int = 2, val visibleLimitInRows: Int = 1, val showInBulkForm: Boolean)

Configuration for controlling the visibility of decorators in different contexts.

Constructors

Link copied to clipboard
constructor(visibleLimitInFields: Int = 2, visibleLimitInRows: Int = 1)
constructor()
constructor(visibleLimitInFields: Int = 2, visibleLimitInRows: Int = 1, showInBulkForm: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether decorators appear in table and nested-table bulk edit forms. Defaults to true; single-row forms and table views are unaffected.

Link copied to clipboard

The maximum number of decorators to display in fields before collapsing remaining decorators into an overflow (kebab) menu.

Link copied to clipboard

The maximum number of decorators to display in rows before collapsing remaining decorators into an overflow (kebab) menu.

Functions

Link copied to clipboard
fun copy(visibleLimitInFields: Int = this.visibleLimitInFields, visibleLimitInRows: Int = this.visibleLimitInRows): DecoratorConfig