mangojack Expert Licensed User Longtime User Apr 12, 2019 #1 I have tried to change a column title on the fly with no luck. B4X: Private DateColumn As B4XTableColumn 'Global declaration Sub Activity_Create(FirstTime As Boolean) DateColumn = B4XTable1.AddColumn("Date", B4XTable1.COLUMN_TYPE_TEXT) '..................... 'then somewhere later .... DateColumn.Title = "Date Recieved" Is this the correct method .. what am I missing Many thanks .. Cheers
I have tried to change a column title on the fly with no luck. B4X: Private DateColumn As B4XTableColumn 'Global declaration Sub Activity_Create(FirstTime As Boolean) DateColumn = B4XTable1.AddColumn("Date", B4XTable1.COLUMN_TYPE_TEXT) '..................... 'then somewhere later .... DateColumn.Title = "Date Recieved" Is this the correct method .. what am I missing Many thanks .. Cheers
Erel B4X founder Staff member Licensed User Longtime User Apr 12, 2019 #2 B4X: Dim pnl As B4XView = DateColumn.CellsLayouts.Get(0) 'header panel pnl.GetView(0).Text = "New Title" Upvote 0
B4X: Dim pnl As B4XView = DateColumn.CellsLayouts.Get(0) 'header panel pnl.GetView(0).Text = "New Title"