AigleZ Dev
06/25/2021, 7:52 PMa_wer1986
06/28/2021, 9:48 AMtableview(list) {
}
where list is ObservableList (or ReadOnlyListProperty, or ObservableValue<out ObservableList<T>>)
next you have to configure columns and bind records properties to cells values.
tableview(rooms) {
column("#", Room::id)
column("Number", Room::number)
column("Type", Room::type)
column("Bed", Room::bed)
}
for more info see https://edvin.gitbooks.io/tornadofx-guide/content/part1/5_Data_Controls.htmla_wer1986
06/28/2021, 9:59 AMsetCellValueFactory { }
or
cellFormat { }
in column definition to customize cell representationAigleZ Dev
06/30/2021, 6:15 PM