### Set Option Allow Column Resize

An example of enable or diable column resize of a TableView.
'Set option to allow column resize
'See https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/TableView.html
`Sub SetColumnResizable(tv As TableView, ColumnIndex As Int, Resizable As Boolean)
Dim tvJO As JavaObject = tv
Dim clmn As JavaObject = tvJO.RunMethodJO("getColumns", Null).RunMethod("get", Array(ColumnIndex))
clmn.RunMethod("setResizable", Array(Resizable))
End Sub`
Example
Disable resizing the first column (index 0) of a TableView:
SetColumnResizable(TableView1, 0, False)

Changed: 2018-04-20 14:56, Category: TableView, File: T6C259M1904.htm, ID: 1904