DataContainer(model: ObservableList<M>, binding: (Int) -> C, child: Container = VPanel(), init: DataContainer<M, C>.() -> Unit = null)
Creates DataContainer bound to given data model.
model
- data model of type ObservableList
binding
- a function which creates component C from data model at given index
child
- internal container (defaults to VPanel)
init
- an initializer extension function
Constructor
Creates DataContainer bound to given data model.