### Set Column Style

The column style can be set using an API call via JavaObject.
Reference: https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TableView.html#getColumns--
returning an ObservableList from which nodes can be obtained and methods executed as defined
https://docs.oracle.com/javase/8/javafx/api/javafx/scene/Node.html
' Set the columnstyle of a tableview column. Index starts at 0
`Sub SetColumnStyle(tv As TableView, ColumnIndex As Int, Style As String)
Dim jo As JavaObject = tv
jo.RunMethodJO("getColumns", Null).RunMethodJO("get", Array(ColumnIndex)).RunMethod("setStyle", Array(Style))
End Sub`
Example:
SetColumnStyle(tableview1, 0, "-fx-text-fill: black; -fx-font-weight: bold; -fx-alignment: CENTER_LEFT;")

Changed: , Category: TableView, File: T6C259M1899.htm, ID: 1899