OptionsContext

class OptionsContext<T>

This context class integrates the configuration and the DSL for some general and optional properties.

The following aspects can be configured:

  • different customizations related to sorting functionalities (SortingContext)

  • the hovering effect

  • width and heights properties, including the maximum values for the whole table

  • width and max width for a cell

Constructors

OptionsContext
Link copied to clipboard
js
fun OptionsContext()

Types

HoveringContext
Link copied to clipboard
js
class HoveringContext<T>
SortingContext
Link copied to clipboard
js
class SortingContext<T>

Functions

hovering
Link copied to clipboard
js
fun hovering(value: OptionsContext.HoveringContext<T>.() -> Unit)
sorting
Link copied to clipboard
js
fun sorting(value: OptionsContext.SortingContext<T>.() -> Unit)

Properties

cellMaxWidth
Link copied to clipboard
js
val cellMaxWidth: ComponentProperty<Property>
cellMinWidth
Link copied to clipboard
js
val cellMinWidth: ComponentProperty<Property>
height
Link copied to clipboard
js
val height: ComponentProperty<Property?>
hovering
Link copied to clipboard
js
maxHeight
Link copied to clipboard
js
val maxHeight: ComponentProperty<Property?>
maxWidth
Link copied to clipboard
js
val maxWidth: ComponentProperty<Property?>
sorting
Link copied to clipboard
js
val sorting: ComponentProperty<OptionsContext.SortingContext<T>>
width
Link copied to clipboard
js
val width: ComponentProperty<Property?>