elifarley
01/11/2019, 4:29 PMcolumn(...)
below cause this error:
None of the following functions can be called with the arguments supplied.
override val root = vbox(10.0) {
tableview(items) {
column("SKU", Item::sku)
column("Item", Item::descr)
column("Price", Item::price)
column("Taxable", Item::taxable)
bindSelected(mySelectedItem)
setPrefSize(667.0, 376.0)
columnResizePolicy = CONSTRAINED_RESIZE_POLICY
vgrow = Priority.ALWAYS
}
hudsonb
01/11/2019, 4:39 PMItem
class like this would work:
data class Item(val sku : StringProperty,
val descr : StringProperty,
val price : FloatProperty,
val taxable : BooleanProperty)
elifarley
01/11/2019, 4:40 PMhudsonb
01/11/2019, 4:42 PMelifarley
01/11/2019, 5:18 PM