visList

inline fun <I> KWidget<*>.visList(style: String = defaultStyle, init: KVisList<I>.() -> Unit = {}): KVisList<I>

Return

a VisList widget instance added to this group.

Parameters

style

name of the widget style. Defaults to defaultStyle.

init

will be invoked with the widget as "this". Note that in contrary to other widgets, this init function has no parameters. If you need to access Cell or Node that this list is in, use KTable.cell, KTable.inCell, KTree.node or KTree.inNode. Allows to fill list items.

I

type of items stored by this widget. Usually items are converted to string and displayed.