TableColumn

fun <T> TableColumn(    title: String,     width: Number,     font: Font = Font(),     formatFunction: (T) -> String)

Creates a TableColumn.

Parameters

T

TableView content type.

title

The title for this TableColumn. It gets displayed in the header row of the TableView.

width

The width for this TableColumn.

font

Font to be used for this TableColumn. Default: default Font constructor.

formatFunction

The format function for this TableColumn. It gets applied to each item in the TableView to get a String for its cell.