Android Question B4xTable hiding Column

Scantech

Well-Known Member
Licensed 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
B4X:
Class_Globals
Dim timeColumn As B4XTableColumn

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

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

jimmyF

Active Member
Licensed 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. :D

also:

B4X:
timeColumn.Width = 1dip
B4XTable1.Refresh
 
Top