Is it possible to but a button in the header of a ...
# tornadofx
s
Is it possible to but a button in the header of a
TableView
?
p
I'm not sure what you're trying to do with that, but you could change it to a label.
Copy code
val customLabel = new Label("vertical label");
    customLabel.setRotate(90);
    customLabel.setPrefHeight(150);
  ...
column("", something::property){ graphic = customLabel}
I think you can add an event listener for a click event to do whatever you wanted.
s
I wanted a "+" button in the header to add a new row.
graphic =
works. Thanks.