Android Question B4xTable hiding Column

Scantech

Well-Known Member
Licensed User
Longtime User
I have been trying to figure out how to hide a B4XTable column without any success. Does anyone know how?
 

jimmyF

Active Member
Licensed User
Longtime User
B4X:
Class_Globals
Dim timeColumn As B4XTableColumn

Sub Initialize
timeColumn = B4XTable1.AddColumn("Time", B4XTable1.COLUMN_TYPE_TEXT)

B4XTable1.VisibleColumns.RemoveAt(B4XTable1.VisibleColumns.IndexOf(timeColumn))
 
Upvote 0

jimmyF

Active Member
Licensed User
Longtime User
3rd result of a search for B4XTable hide column.
I know. I happened to be working on an app in which I used that feature.
Would've taken me longer to search for the link lol.

also:

B4X:
timeColumn.Width = 1dip
B4XTable1.Refresh
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…