invoke

operator fun <K, V> invoke(values: Map<K, V>, keyColumn: ColumnInfo<K, V, K>, valueColumn: ColumnInfo<K, V, V>, selectionModel: SelectionModel<Int>? = null, scrollCache: Int = 0): KeyValueTable<K, V>(source)

Creates a KeyValueTable.

Parameters

values

to include in the table

keyColumn

defines the key (K) column's properties

valueColumn

defines the value (V) column's properties

selectionModel

that manages the Table's selection state

scrollCache

determining how many "hidden" items are rendered above and below the table's view-port. A value of 0 means only visible items are rendered, but quick scrolling is more likely to show blank areas.