Z ziomorgan Active Member Licensed User Longtime User Jan 23, 2015 #1 I want to set the columns of Tableview as not resizable and here I found the class that runs it but do not know how to translate it into b4j. someone can help me? thank you
I want to set the columns of Tableview as not resizable and here I found the class that runs it but do not know how to translate it into b4j. someone can help me? thank you
Erel B4X founder Staff member Licensed User Longtime User Jan 25, 2015 #2 Here: Code: Sub DisableResize(tv As TableView) Dim jo As JavaObject = tv Dim columns As List = jo.RunMethod("getColumns", Null) For Each col As JavaObject In columns col.RunMethod("setResizable", Array(False)) Next End Sub Upvote 0
Here: Code: Sub DisableResize(tv As TableView) Dim jo As JavaObject = tv Dim columns As List = jo.RunMethod("getColumns", Null) For Each col As JavaObject In columns col.RunMethod("setResizable", Array(False)) Next End Sub