dataContainer

fun <M, C, CONT> <Error class: unknown class>.dataContainer(model: MutableList<M>, factory: <Error class: unknown class>.(M, Int, MutableList<M>) -> C, container: CONT, containerAdd: CONT.(C, M) -> Unit? = null, filter: (M) -> Boolean? = null, sorter: (M) -> Comparable<*>?? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: DataContainer<M, C, CONT>.() -> Unit? = null): DataContainer<M, C, CONT>

DSL builder extension function.

It takes the same parameters as the constructor of the built component.


fun <M, C> <Error class: unknown class>.dataContainer(model: MutableList<M>, factory: <Error class: unknown class>.(M, Int, MutableList<M>) -> C, containerAdd: <Error class: unknown class>.(C, M) -> Unit? = null, filter: (M) -> Boolean? = null, sorter: (M) -> Comparable<*>?? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: DataContainer<M, C, <Error class: unknown class>>.() -> Unit? = null): DataContainer<M, C, <Error class: unknown class>>

Deprecated

Use kvision-state or kvision-state-flow modules instead. This module will be removed in KVision 6.

DSL builder extension function with VPanel default.

It takes the same parameters as the constructor of the built component.