You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to make a tableview data but some column, data is too long and i want it wraptext but when using setCellFactory, i can not resize and edit that cell.
examlpe
column("Values", ItemViewModel::values).makeEditable()
.setCellFactory {
val cell = TableCell<ItemViewModel, String>()
val text = Text()
cell.graphic = text
cell.prefHeight = Control.USE_COMPUTED_SIZE
text.wrappingWidthProperty().bind(it.widthProperty())
text.textProperty().bind(cell.itemProperty())
cell
}
The text was updated successfully, but these errors were encountered:
I try to make a tableview data but some column, data is too long and i want it wraptext but when using setCellFactory, i can not resize and edit that cell.
examlpe
column("Values", ItemViewModel::values).makeEditable()
.setCellFactory {
val cell = TableCell<ItemViewModel, String>()
val text = Text()
cell.graphic = text
cell.prefHeight = Control.USE_COMPUTED_SIZE
text.wrappingWidthProperty().bind(it.widthProperty())
text.textProperty().bind(cell.itemProperty())
cell
}
The text was updated successfully, but these errors were encountered: